node-forge
npm33 known CVEs affecting this package
Aggregated from OSV, GitHub Security Advisories, NVD, and vendor advisories. Each CVE links to its full detail page with vendor advisories, patches, fixed versions, and remediation guidance.
CVEs affecting node-forgepage 1 of 1
- CVE-2020-7720CRITICALCVSS 9.8EG 9.8fixed in 0.10.02020-09-01
The package node-forge before 0.10.0 is vulnerable to Prototype Pollution via the util.setPath function. Note: Version 0.10.0 is a breaking change removing the vulnerable functions.
- CVE-2022-0122MEDIUMCVSS 6.1EG 6.1fixed in 1.0.02022-01-06
forge is vulnerable to URL Redirection to Untrusted Site
- CVE-2022-24771HIGHCVSS 7.5EG 7.5fixed in 1.3.02022-03-18
Forge (also called `node-forge`) is a native implementation of Transport Layer Security in JavaScript. Prior to version 1.3.0, RSA PKCS#1 v1.5 signature verification code is lenient in checking the digest algorithm structure. This can allo…
- CVE-2022-24772HIGHCVSS 7.5EG 7.5fixed in 1.3.02022-03-18
Forge (also called `node-forge`) is a native implementation of Transport Layer Security in JavaScript. Prior to version 1.3.0, RSA PKCS#1 v1.5 signature verification code does not check for tailing garbage bytes after decoding a `DigestInf…
- CVE-2022-24773MEDIUMCVSS 5.3EG 5.3fixed in 1.3.02022-03-18
Forge (also called `node-forge`) is a native implementation of Transport Layer Security in JavaScript. Prior to version 1.3.0, RSA PKCS#1 v1.5 signature verification code does not properly check `DigestInfo` for a proper ASN.1 structure. T…
- CVE-2025-12816HIGHCVSS 8.6EG 8.6fixed in 1.3.22025-11-25
An interpretation-conflict (CWE-436) vulnerability in node-forge versions 1.3.1 and earlier enables unauthenticated attackers to craft ASN.1 structures to desynchronize schema validations, yielding a semantic divergence that may bypass dow…
- CVE-2025-66030MEDIUMCVSS 5.3EG 5.3fixed in 1.3.22025-11-26
Forge (also called `node-forge`) is a native implementation of Transport Layer Security in JavaScript. An Integer Overflow vulnerability in node-forge versions 1.3.1 and below enables remote, unauthenticated attackers to craft ASN.1 struct…
- CVE-2025-66031HIGHCVSS 7.5EG 7.5fixed in 1.3.22025-11-26
Forge (also called `node-forge`) is a native implementation of Transport Layer Security in JavaScript. An Uncontrolled Recursion vulnerability in node-forge versions 1.3.1 and below enables remote, unauthenticated attackers to craft deep A…
- CVE-2026-118774LOWCVSS 5.3EG 3.7fixed in 1.4.12026-10-29
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, the affected implementation used certificate.verify(child), _verifySignature(), lib/x509.js to process the relevant input …
- CVE-2026-118775MEDIUMCVSS 5.3EG 5.3fixed in 1.4.12026-10-29
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, asn1.oidToDer() in lib/asn1.js did not range-check the first two arcs of an OID. An application that accepted an untrusted…
- CVE-2026-118776LOWCVSS 5.3EG 3.7fixed in 1.4.12026-10-29
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, the affected implementation used decipher.finish(), CBC and ECB modes, PKCS#7 padding to process the relevant input or sec…
- CVE-2026-118777MEDIUMCVSS 6.5EG 6.5fixed in 1.4.12026-10-29
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, the forge.http client stored cookie names and paths from Set-Cookie response headers in ordinary JavaScript objects. A mal…
- CVE-2026-118778MEDIUMCVSS 5.9EG 5.9fixed in 1.4.12026-10-29
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, the affected implementation used forge.tls.createConnection(), c.session.serverCertificate, RSA key exchange to process th…
- CVE-2026-118779HIGHCVSS 7.5EG 7.5fixed in 1.4.12026-10-29
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, the affected implementation used pem.decode(), lib/pem.js, missing END line to process the relevant input or security deci…
- CVE-2026-118780LOWCVSS 3.7EG 3.7fixed in 1.4.12026-10-29
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, the affected implementation used pki.verifyCertificateChain(), pki.createCaStore(), duplicate subject names to process the…
- CVE-2026-118781MEDIUMCVSS 5.3EG 5.3fixed in 1.4.12026-10-29
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, the affected implementation used BigInteger.prototype.modInverse(), bnModInverse(), lib/jsbn.js, RSA public exponent e to …
- CVE-2026-118782HIGHCVSS 7.5EG 7.5fixed in 1.4.12026-10-29
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, node-forge accepted a PKCS#12 MAC or PKCS#12 password-based encryption iteration count of zero or less. pki.pbe.generatePk…
- CVE-2026-119186MEDIUMCVSS 5.9EG 5.9fixed in 1.4.12026-10-29
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, node-forge did not validate the AES-GCM tagLength option passed to start() during decryption through forge.cipher.createDe…
- CVE-2026-119187HIGHCVSS 7.5EG 7.5fixed in 1.4.12026-10-29
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, the affected implementation used forge.tls.createConnection(), TLS record processing, process() to process the relevant in…
- CVE-2026-119188HIGHCVSS 7.5EG 7.5fixed in 1.4.12026-10-29
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, the affected implementation used forge.tls.createConnection(), fragmented handshake message, interleaved record to process…
- CVE-2026-119189MEDIUMCVSS 5.9EG 5.9fixed in 1.4.12026-10-29
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, node-forge enforced an X.509 CA certificate's basicConstraints.pathLenConstraint only when that certificate also carried a…
- CVE-2026-119190HIGHCVSS 7.4EG 7.4fixed in 1.4.12026-10-29
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, node-forge parsed deprecated extension OIDs 2.5.29.10 and 2.5.29.13 as basicConstraints, and pki.verifyCertificateChain() …
- CVE-2026-119191HIGHCVSS 7.5EG 7.5fixed in 1.4.12026-10-29
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, the affected implementation used asn1.fromDer(), BIT STRING decoding, maxDepth to process the relevant input or security d…
- CVE-2026-119192HIGHCVSS 7.5EG 7.5fixed in 1.4.12026-11-10
Forge: RSA PKCS#1 v1.5 signature forgery via non-canonical DigestInfo encoding ### Summary RSASSA-PKCS1-v1_5 signature verification (`publicKey.verify()` with the default scheme, also used by X.509 certificate and PKCS#7 verification) acc…
- CVE-2026-125332MEDIUMCVSS 5.9EG 5.9fixed in 1.4.32026-11-10
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.3, a forge.tls client accepts a ServerHello compression_method that it did not offer. When the client later handles ServerHel…
- CVE-2026-125333MEDIUMCVSS 5.9EG 5.9fixed in 1.4.32026-11-10
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. From 0.1.2 until 1.4.3, forge.http uses _trimString() in lib/http.js to remove trailing whitespace from response header values and cookie …
- CVE-2026-125334MEDIUMCVSS 5.9EG 5.9fixed in 1.4.32026-11-10
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.3, a forge.tls client can pass a handshake record to tls.handleHandshake() while the connection has no session, including aft…
- CVE-2026-125335LOWCVSS 3.7EG 3.7fixed in 1.4.32026-11-10
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.3, ed25519.verify() decodes a public key in crypto_sign_open() without rejecting small-order points or their non-canonical en…
- CVE-2026-33891HIGHCVSS 7.5EG 7.5fixed in 1.4.02026-03-27
Forge (also called `node-forge`) is a native implementation of Transport Layer Security in JavaScript. Prior to version 1.4.0, a Denial of Service (DoS) vulnerability exists in the node-forge library due to an infinite loop in the BigInteg…
- CVE-2026-33894HIGHCVSS 7.5EG 7.5fixed in 1.4.02026-03-27
Forge (also called `node-forge`) is a native implementation of Transport Layer Security in JavaScript. Prior to version 1.4.0, RSASSA PKCS#1 v1.5 signature verification accepts forged signatures for low public exponent keys (e=3). Attacker…
- CVE-2026-33895HIGHCVSS 7.5EG 7.5fixed in 1.4.02026-03-27
Forge (also called `node-forge`) is a native implementation of Transport Layer Security in JavaScript. Prior to version 1.4.0, Ed25519 signature verification accepts forged non-canonical signatures where the scalar S is not reduced modulo …
- CVE-2026-33896CRITICALCVSS 9.1EG 9.1fixed in 1.4.02026-03-27
Forge (also called `node-forge`) is a native implementation of Transport Layer Security in JavaScript. Prior to version 1.4.0, `pki.verifyCertificateChain()` does not enforce RFC 5280 basicConstraints requirements when an intermediate cert…
- CVE-2026-85393HIGHCVSS 7.5EG 7.52026-09-03
node-forge through 1.4.0 fails to validate element count in nested DigestAlgorithm sequences during RSA PKCS#1 v1.5 signature verification. Attackers can embed garbage bytes inside the DigestAlgorithm sequence to forge valid signatures for…
Check whether node-forge is used in your infrastructure
EchelonGraph scans your cloud and SBOMs to map every package to your actual deployments. See blast radius for node-forge CVEs against the assets you own.
Book a Demo →