Forge: RSA multi-prime private keys are read as two-prime keys, and signatures leak a factor of the modulus
RSS Feed
LOW
CVE-2026-140099
GHSA-w73w-hhm4-q25p
Description:
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.
Affected Packages
No package information available.
Actions
Advisory Details
| Published: | November 30, 2026 1 day ago |
| Updated: | December 01, 2026 about 10 hours ago |
| CVSS Score: | 3.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| Source: | Osv |
| UUID: | CVE-2026-140099 |
PR Statistics
PR Status
Open
2 (100.0%)
Merged
0 (0.0%)
Closed
0 (0.0%)
Update Types
Patch
2 (100.0%)
References
- https://github.com/digitalbazaar/forge/releases/tag/v1.4.4
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140099.json
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-w73w-hhm4-q25p
- https://nvd.nist.gov/vuln/detail/CVE-2026-140099
- https://github.com/digitalbazaar/forge/issues/1143
- https://github.com/digitalbazaar/forge/commit/8d1a7bc8ad514e70f85bf5cbe4c60cd52916fdef