freenode

← CVE tracker

CVE-2026-140099

Forge: RSA multi-prime private keys are read as two-prime keys, and signatures leak a factor of the modulus

Severity
low CVSS 3.7 (v3.1)
Affects
forge · digitalbazaar
Weakness
CWE-20: Improper Input Validation
Published
30 November 2026 by GitHub_M
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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.