Forge: RSA multi-prime private keys are read as two-prime keys, and signatures leak a factor of the modulus
Summary
| CVE | CVE-2026-140099 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 23:17:24 UTC |
| Updated | 2026-11-30 23:17:24 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 3.7 LOW from [email protected]
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Problem Types: CWE-20 | CWE-325 | CWE-20 CWE-20: Improper Input Validation | CWE-325 CWE-325: Missing Cryptographic Step
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 3.7 | LOW | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| 3.1 | CNA | DECLARED | 3.7 | LOW | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
LowIntegrity
NoneAvailability
NoneCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Digitalbazaar | Forge | affected < 1.4.4 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/digitalbazaar/forge/releases/tag/v1.4.4 | [email protected] | github.com | |
| github.com/digitalbazaar/forge/security/advisories/GHSA-w73w-hhm4-q25p | [email protected] | github.com | |
| github.com/digitalbazaar/forge/commit/8d1a7bc8ad514e70f85bf5cbe4c60cd529... | [email protected] | github.com | |
| github.com/digitalbazaar/forge/issues/1143 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.