Home / wolfSSL Inc. / wolfTPM / CVE-2025-7844
CVE-2025-7844: is it exploited, and which versions of wolfSSL Inc. wolfTPM are affected and fixed?
CVE-2025-7844 is a stack buffer overflow vulnerability in wolfSSL Inc. wolfTPM. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). The record names no affected version range. No fixed version is listed in the sources yet; check the vendor advisory. Severity: Low (1.0, CVSS 4.0, from wolfSSL).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:18 UTC.
What is CVE-2025-7844?
wolfTPM library wrapper function `wolfTPM2_RsaKey_TpmToWolf` copies external data to a fixed-size stack buffer without length validation potentially causing stack-based buffer overflow
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.
From the CVE record by wolfSSL, last updated August 5, 2025, 13:36 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| wolfSSL Inc. | wolfTPM | not stated |
As the CVE record by wolfSSL states it, last updated August 5, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2025-7844?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 1.0 | CVSS 4.0 | 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/U:Green | wolfSSL |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-7844 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: total (CISA ADP, August 5, 2025)
- EPSS
- 0.17% probability of exploitation activity in the next 30 days, percentile 6.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-121 Stack-based Buffer Overflow
Where are the vendor advisories and references?
Who found and reported it?
- Richard Mitev, Giannis Mouzenidis, Patrick Jauernig from SANCTUARY Systems GmbH (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- July 18, 2025
- Published
- August 4, 2025, 21:35 UTC
- CVE record updated
- August 5, 2025, 13:36 UTC by wolfSSL
- NVD
- Deferred, last modified June 17, 2026, 10:05 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:18 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2025-7844
Is CVE-2025-7844 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 0.17% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which version fixes CVE-2025-7844?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2025-7844?
Low (1.0, CVSS 4.0, from wolfSSL). The severity table above shows each score with its source.
Where is the official record of CVE-2025-7844?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.