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.
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-w73w-hhm4-q25p Forge: RSA multi-prime private keys are read as two-prime keys, and signatures leak a factor of the modulus
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Mon, 30 Nov 2026 22:45:00 +0000

Type Values Removed Values Added
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.
Title Forge: RSA multi-prime private keys are read as two-prime keys, and signatures leak a factor of the modulus
Weaknesses CWE-20
CWE-325
References
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-12-01T14:17:39.529Z

Reserved: 2026-11-30T20:55:13.434Z

Link: CVE-2026-140099

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-11-30T23:17:24.540

Modified: 2026-12-01T15:17:54.900

Link: CVE-2026-140099

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-12-01T16:00:04Z

Weaknesses