3 matches found
Forge: RSA multi-prime private keys are read as two-prime keys, and signatures leak a factor of the modulus
Summary pki.privateKeyFromPem and pki.privateKeyFromAsn1 ignore the RSAPrivateKey version and the otherPrimeInfos field, so a multi-prime RSA key is read with only its first two primes. Signatures made with such a key are invalid, and each one reveals a factor of the modulus to anyone who sees it...
CVE-2026-140099 Forge: 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...
CVE-2026-140099
The Forge (node-forge) JavaScript TLS implementation is vulnerable to a cryptographic flaw in versions prior to 1.4.4 . Specifically, the functions pki.privateKeyFromPem() and pki.privateKeyFromAsn1() ignore the RSAPrivateKey version and otherPrimeInfos fields. This causes the library to incorrec...