CVE Explorer
CVE-2025-7844
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","product":"wolfTPM","programFiles":["src/tpm2_wrap.c"],"programRoutines":[{"name":"wolfTPM2_RsaKey_TpmToWolf"}],"repo":"https://github.com/wolfSSL/wolftpm","vendor":"wolfSSL Inc.","versions":[{"lessThanOrEqual":"3.9.2","status":"affected","version":"0","versionType":"git"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:9ed2c3cbbb1ceb22b0c3bd38d9f229e35072a52e93eabe6a4fe937d3d8f8b79e · sha256:71ec95389efad4d3… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"HIGH","attackRequirements":"PRESENT","attackVector":"PHYSICAL","baseScore":1,"baseSeverity":"LOW","privilegesRequired":"NONE","providerUrgency":"GREEN","subAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"N…
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:9ed2c3cbbb1ceb22b0c3bd38d9f229e35072a52e93eabe6a4fe937d3d8f8b79e · sha256:71ec95389efad4d3… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-121","description":"CWE-121","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:9ed2c3cbbb1ceb22b0c3bd38d9f229e35072a52e93eabe6a4fe937d3d8f8b79e · sha256:71ec95389efad4d3… · /containers/cna/problemTypes/0/descriptions/0
Source references
1 source assertion{"url":"https://github.com/wolfSSL/wolfTPM/pull/427"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:9ed2c3cbbb1ceb22b0c3bd38d9f229e35072a52e93eabe6a4fe937d3d8f8b79e · sha256:71ec95389efad4d3… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.