# node-forge (npm)

JavaScript implementations of network transports, cryptography, ciphers, PKI, message digests, and various utilities.

- Latest: 1.4.4 (2026-11-23)
- Licence: (BSD-3-Clause OR GPL-2.0)
- Downloads: 238309754 last month
- Advisories on the latest version: 0

- CVE-2026-85393 HIGH: node-forge: RSA PKCS#1 v1.5 signature forgery via extra elements in nested DigestAlgorithm Fixed in 1.4.1.
- CVE-2026-140099 LOW: Forge: RSA multi-prime private keys are read as two-prime keys, and signatures leak a factor of the modulus Fixed in 1.4.4.
- CVE-2026-118776 LOW: Forge: Incomplete PKCS#7 padding validation in AES/DES CBC and ECB decryption Fixed in 1.4.1.
- CVE-2026-125335 LOW: Forge: Ed25519 signature verification accepts small-order public keys Fixed in 1.4.3.
- CVE-2026-125333 MODERATE: Forge: ReDoS in forge.http response header and cookie trimming Fixed in 1.4.3.
- CVE-2026-119192 HIGH: Forge: RSA PKCS#1 v1.5 signature forgery via non-canonical DigestInfo encoding Fixed in 1.4.1.
- CVE-2026-118774 LOW: Forge: Certificate signature verified with the issuer's RSA signature scheme Fixed in 1.4.1.
- CVE-2026-119189 MODERATE: Forge: X.509 pathLenConstraint not enforced by verifyCertificateChain() for CA certificates without keyUsage Fixed in 1.4.1.
- CVE-2026-125334 MODERATE: Forge: TLS client crash on a handshake record received without a session Fixed in 1.4.3.
- CVE-2026-119191 HIGH: Forge: ASN.1 resource exhaustion via BIT STRING decoding in asn1.fromDer Fixed in 1.4.1.
- CVE-2026-125332 MODERATE: Forge: TLS client crash on an unsupported ServerHello compression method Fixed in 1.4.3.
- CVE-2026-118780 LOW: Forge: verifyCertificateChain() removes trusted CA certificates with the same subject from the CA store Fixed in 1.4.1.
- CVE-2026-118775 LOW: Forge: ASN.1 OID first arc truncation in asn1.oidToDer Fixed in 1.4.1.
- CVE-2026-118778 MODERATE: Forge: TLS client crash when the server sends no certificate Fixed in 1.4.1.
- CVE-2026-119186 MODERATE: Forge: AES-GCM authentication bypass via unvalidated tagLength option Fixed in 1.4.1.
- CVE-2026-119190 HIGH: Forge: X.509 basicConstraints bypass in verifyCertificateChain() via deprecated extension OIDs 2.5.29.10 and 2.5.29.13 Fixed in 1.4.1.
- CVE-2026-118777 MODERATE: Forge: Prototype Pollution in forge.http cookie handling via a malicious Set-Cookie Fixed in 1.4.1.
- CVE-2026-118779 HIGH: Forge: Regular expression denial of service in PEM decoding (pem.decode) Fixed in 1.4.1.
- CVE-2026-119188 HIGH: Forge: Denial of service in TLS record processing via a record interleaved with a fragmented handshake message Fixed in 1.4.1.
- CVE-2026-118781 LOW: Forge: Denial of Service via infinite loop in BigInteger.modInverse() with negative input (incomplete fix of CVE-2026-33891) Fixed in 1.4.1.
- CVE-2026-119187 HIGH: Forge: Denial of service in TLS record processing via call stack exhaustion Fixed in 1.4.1.
- CVE-2026-118782 HIGH: Forge: PKCS#12 MAC forgery and constant-key PBE via zero iteration count Fixed in 1.4.1.
- CVE-2026-33896 HIGH: Forge has a basicConstraints bypass in its certificate chain verification (RFC 5280 violation) Fixed in 1.4.0.
- CVE-2026-33891 HIGH: Forge has Denial of Service via Infinite Loop in BigInteger.modInverse() with Zero Input Fixed in 1.4.0.
- CVE-2026-33894 HIGH: Forge has signature forgery in RSA-PKCS due to ASN.1 extra field   Fixed in 1.4.0.
- CVE-2026-33895 HIGH: Forge has signature forgery in Ed25519 due to missing S > L check Fixed in 1.4.0.
- CVE-2025-66031 HIGH: node-forge has ASN.1 Unbounded Recursion Fixed in 1.3.2.
- CVE-2025-12816 HIGH: node-forge has an Interpretation Conflict vulnerability via its ASN.1 Validator Desynchronization Fixed in 1.3.2.
- CVE-2025-66030 MODERATE: node-forge is vulnerable to ASN.1 OID Integer Truncation Fixed in 1.3.2.
- CVE-2022-24773 MODERATE: Improper Verification of Cryptographic Signature in `node-forge` Fixed in 1.3.0.
- CVE-2022-24771 HIGH: Improper Verification of Cryptographic Signature in node-forge Fixed in 1.3.0.
- CVE-2022-24772 HIGH: Improper Verification of Cryptographic Signature in node-forge Fixed in 1.3.0.
- CVE-2022-0122 MODERATE: Open Redirect in node-forge Fixed in 1.0.0.
- GHSA-5rrq-pxf6-6jx5 LOW: Prototype Pollution in node-forge debug API. Fixed in 1.0.0.
- GHSA-gf8q-jrpm-jvxq LOW: URL parsing in node-forge could lead to undesired behavior. Fixed in 1.0.0.
- GHSA-wxgw-qj99-44c2 LOW: Prototype Pollution in node-forge util.setPath API Fixed in 0.10.0.
- CVE-2020-7720 HIGH: Prototype Pollution in node-forge Fixed in 0.10.0.

Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.
