CVE-2025-7844
Last modified
CVE-2025-7844 is a low-severity vulnerability rated 1/10 on the CVSS scale. Exporting a TPM based RSA key larger than 2048 bits from the TPM could overrun a stack buffer if the default `MAX_RSA_KEY_BITS=2048` is used. If your TPM 2.0 module supports RSA key sizes larger than 2048 bit and your applications supports creating or importing an RSA private or public key larger than 2048 bits and your application calls `wolfTPM2_RsaKey_TpmToWolf` on that key, then a stack buffer could be overrun. EPSS estimates a 0.14% chance of exploitation in the next 30 days.
Description
Exporting a TPM based RSA key larger than 2048 bits from the TPM could overrun a stack buffer if the default `MAX_RSA_KEY_BITS=2048` is used. If your TPM 2.0 module supports RSA key sizes larger than 2048 bit and your applications supports creating or importing an RSA private or public key larger than 2048 bits and your application calls `wolfTPM2_RsaKey_TpmToWolf` on that key, then a stack buffer could be overrun. If the `MAX_RSA_KEY_BITS` build-time macro is set correctly (RSA bits match what TPM hardware is capable of) for the hardware target, then a stack overrun is not possible.
Metrics
CVSS:4.0/AV:P/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Green
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-7844?
How severe is CVE-2025-7844?
How do I fix CVE-2025-7844?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-7838A vulnerability has been found in Campcodes Online Movie The…9.8
- CVE-2025-7839The Restore Permanently delete Post or Page Data plugin for …4.3
- CVE-2025-7840A vulnerability was found in Campcodes Online Movie Theater …6.1
- CVE-2025-7841The Sertifier Certificate & Badge Maker for WordPress – Tuto…4.3
- CVE-2025-7842The Silencesoft RSS Reader plugin for WordPress is vulnerabl…4.3
- CVE-2025-7843The Auto Save Remote Images (Drafts) plugin for WordPress is…6.4
- CVE-2025-7845The Stratum – Elementor Widgets plugin for WordPress is vuln…6.4
- CVE-2025-7846The WordPress User Extra Fields plugin for WordPress is vuln…8.8
- CVE-2025-7847The AI Engine plugin for WordPress is vulnerable to arbitrar…8.8
- CVE-2025-7848A memory corruption vulnerability due to improper input vali…8.5
- CVE-2025-7849A memory corruption vulnerability due to improper error hand…8.5
- CVE-2025-7850A command injection vulnerability may be exploited after the…7.2
Are you affected by CVE-2025-7844?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
