Forge misreads multi-prime RSA keys and leaks a modulus factor
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
Forge (digitalbazaar forge) before 1.4.4 misreads multi-prime RSA private keys as two-prime keys when they are loaded with pki.privateKeyFromPem(). 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, which reduces the key's effective strength (CWE-20). Two-prime keys are not affected. The CVSS vector rates the attack as high complexity and requiring no privileges or user interaction.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| digitalbazaar | forge | before 1.4.4 | 1.4.4 | Patch available | CNA |
- forge Vendordigitalbazaar Affected before 1.4.4 Fixed in 1.4.4 Patch available CNA
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:digitalbazaar:forge:*:*:*:*:*:*:*:* | — | — | digitalbazaar |
- cpe:2.3:a:digitalbazaar:forge:*:*:*:*:*:*:*:* Versions — — ·digitalbazaar
Remediation
Update digitalbazaar forge to 1.4.4, the fixed version.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- Fix · CNA forge (digitalbazaar) Fixed in 1.4.4
Timeline
- 2026-11-30 Threatist record created from CVE-2026-140099
References
More digitalbazaar vulnerabilities
- TI-2026-58601 node-forge through 1.4.0 RSA PKCS#1 v1.5 Signature Forgery via Nested DigestAlgorithm Padding CVSS 4.0HIGH 8.7
- TI-2026-26254 Forge has a basicConstraints bypass in its certificate chain verification (RFC 5280 violation) CVSS 3.1CRITICAL 9.1
- TI-2026-92671 Forge RSA signature forgery via non-canonical DigestInfo encoding CVSS 3.1HIGH 7.5
- TI-2026-82739 Resource exhaustion in Forge ASN.1 parsing via nested BIT STRINGs CVSS 3.1HIGH 7.5
- TI-2026-82735 Forge TLS record recursion exhausts stack, causing denial of service CVSS 3.1HIGH 7.5
- TI-2026-82733 Forge PKCS#12 flaws allow MAC forgery and constant-key encryption CVSS 3.1HIGH 7.5
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences