# 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 3.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-01)
- Published: 2026-11-30T22:34:58.490Z
- Modified: 2026-12-01T19:00:04.195Z
- Also known as: GHSA-w73w-hhm4-q25p
- Weaknesses: CWE-20, CWE-325
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- digitalbazaar forge: < 1.4.4
- node-forge (npm): before 1.4.4

## Every score

- GitHub_M: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/digitalbazaar/forge/security/advisories/GHSA-w73w-hhm4-q25p> (web)
- <https://github.com/digitalbazaar/forge/issues/1143> (web)
- <https://github.com/digitalbazaar/forge/commit/8d1a7bc8ad514e70f85bf5cbe4c60cd52916fdef> (web)
- <https://github.com/digitalbazaar/forge/releases/tag/v1.4.4> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-140099> (advisory)
- <https://github.com/digitalbazaar/forge> (package)

## Sources

- CVE List: [CVE-2026-140099](https://www.cve.org/CVERecord?id=CVE-2026-140099), CVE Terms of Use, modified 2026-11-30
- GitHub Advisory Database: [GHSA-w73w-hhm4-q25p](https://github.com/advisories/GHSA-w73w-hhm4-q25p), CC-BY-4.0, modified 2026-12-01
- NVD: [CVE-2026-140099](https://nvd.nist.gov/vuln/detail/CVE-2026-140099), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-140099 · Whole record: https://cve.day/CVE-2026-140099.json · Rebuilt by cve.day 2026-12-01T19:07:27.135Z
