CVE-2026-140099
LOW 3.7CVSS 3.1Forge: RSA multi-prime private keys are read as two-prime keys, and signatures leak a factor of the modulus
Forge, also called node-forge, is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.4, pki.privateKeyFromPem() and pki.privateKeyFromAsn1() ignore the RSAPrivateKey version and otherPrimeInfos fields and interpret a multi-prime RSA private key as a two-prime key. Signing then uses CRT values for only the first two primes, producing an invalid signature from which an observer can recover a factor of the modulus and reduce the effective strength of the key; two-prime keys are not affected. This issue is fixed in 1.4.4.
- Published
- 30 Nov 2026
- Last modified
- 1 Dec 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-20CWE-325
- Also known as
- GHSA-w73w-hhm4-q25p
- Sources
- NVDJSONCVE ListJSONOSV GHSA-w73w-hhm4-q25pJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| CVE List | GitHub_M | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| CVE List | CISA-ADP | SSVC | Exploitation: poc; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | digitalbazaar | forge | = < 1.4.4 | |
| OSV | npm | node-forge | < 1.4.4 | 1.4.4 |
References
- https://github.com/digitalbazaar/forge/commit/8d1a7bc8ad514e70f85bf5cbe4c60cd52916fdef · x_refsource_MISC, WEB
- https://github.com/digitalbazaar/forge/issues/1143 · x_refsource_MISC, WEB
- https://github.com/digitalbazaar/forge/releases/tag/v1.4.4 · x_refsource_MISC, WEB
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-w73w-hhm4-q25p · x_refsource_CONFIRM, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-140099 · ADVISORY
- https://github.com/digitalbazaar/forge · PACKAGE
History
- 1 Dec 2026 19:42 UTC · OSV: first stored (published 1 Dec 2026)
- 1 Dec 2026 15:31 UTC · NVD: 1 reference added
- 1 Dec 2026 14:27 UTC · CVE List: updated (other details)
- 30 Nov 2026 23:42 UTC · NVD: first stored (published 30 Nov 2026)
- 30 Nov 2026 22:40 UTC · CVE List: first stored (published 30 Nov 2026)