{"id":"CVE-2026-140099","state":"PUBLISHED","title":"Forge: RSA multi-prime private keys are read as two-prime keys, and signatures leak a factor of the modulus","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.","publishedAt":"2026-11-30T22:34:58.490Z","updatedAt":"2026-11-30T22:34:58.490Z","severity":{"score":3.7,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["digitalbazaar forge"],"affected":[{"vendor":"digitalbazaar","product":"forge","versions":[{"version":"< 1.4.4","status":"affected"}]}],"references":["https://github.com/digitalbazaar/forge/security/advisories/GHSA-w73w-hhm4-q25p","https://github.com/digitalbazaar/forge/issues/1143","https://github.com/digitalbazaar/forge/commit/8d1a7bc8ad514e70f85bf5cbe4c60cd52916fdef","https://github.com/digitalbazaar/forge/releases/tag/v1.4.4"],"weaknesses":["CWE-20","CWE-325"],"ingestedAt":"2026-11-30T22:38:06.162Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/140xxx/CVE-2026-140099.json","commit":"d35edd4645c89359e22636bd1cbc27769a516ed2","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-140099","state":"PUBLISHED","datePublished":"2026-11-30T22:34:58.490Z","dateUpdated":"2026-11-30T22:34:58.490Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-11-30T20:55:13.434Z"},"containers":{"cna":{"title":"Forge: RSA multi-prime private keys are read as two-prime keys, and signatures leak a factor of the modulus","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"digitalbazaar","product":"forge","versions":[{"version":"< 1.4.4","status":"affected"}]}],"references":[{"url":"https://github.com/digitalbazaar/forge/security/advisories/GHSA-w73w-hhm4-q25p","name":"https://github.com/digitalbazaar/forge/security/advisories/GHSA-w73w-hhm4-q25p","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/digitalbazaar/forge/issues/1143","name":"https://github.com/digitalbazaar/forge/issues/1143","tags":["x_refsource_MISC"]},{"url":"https://github.com/digitalbazaar/forge/commit/8d1a7bc8ad514e70f85bf5cbe4c60cd52916fdef","name":"https://github.com/digitalbazaar/forge/commit/8d1a7bc8ad514e70f85bf5cbe4c60cd52916fdef","tags":["x_refsource_MISC"]},{"url":"https://github.com/digitalbazaar/forge/releases/tag/v1.4.4","name":"https://github.com/digitalbazaar/forge/releases/tag/v1.4.4","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":3.7,"baseSeverity":"LOW","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","lang":"en","description":"CWE-20: Improper Input Validation","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-325","lang":"en","description":"CWE-325: Missing Cryptographic Step","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-11-30T22:34:58.490Z"},"source":{"advisory":"GHSA-w73w-hhm4-q25p","discovery":"UNKNOWN"}}}}}