{"id":"ghsa-ghsa-w73w-hhm4-q25p","seq":12154374,"kind":"advisory","title":"Forge: RSA multi-prime private keys are read as two-prime keys, and signatures leak a factor of the modulus","url":"https://github.com/advisories/GHSA-w73w-hhm4-q25p","permalink":"https://vulnpulse.app/items/ghsa-ghsa-w73w-hhm4-q25p","summary":"影響: npm:node-forge <= 1.4.3 → 1.4.4\npki.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. Fixed in node-forge 1.4.4. Details RFC 8017 (A.1.2) allows RSA private keys with more than two primes: version 1, with the extra primes in otherPrimeInfos. node-forge only supports two-prime keys, but pki…","severity":"low","cvss":null,"techs":["nodejs"],"cves":["CVE-2026-140099"],"tags":["GHSA-w73w-hhm4-q25p","node-forge"],"source":{"id":"ghsa","name":"GitHub Advisory Database"},"published_at":"2026-12-01T18:42:05.000Z","fetched_at":"2026-12-01T21:20:51.440Z"}