node-forge vulnerabilities
JavaScript implementations of network transports, cryptography, ciphers, PKI, message digests, and various utilities.
- Registry
- npm
- Latest
- 1.4.3
- License
- (BSD-3-Clause OR GPL-2.0)
36 known advisories
The latest version, 1.4.3, is not affected by any of them. Projects on older versions may be.
npm install node-forge@1.4.3Is your project on an affected node-forge?
Look after several JavaScript apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Security advisories for node-forge
Forge: Ed25519 signature verification accepts small-order public keys
- Affected
- <1.4.3
- Fixed in
- 1.4.3
Forge: TLS client crash on an unsupported ServerHello compression method
- Affected
- <1.4.3
- Fixed in
- 1.4.3
Forge: ReDoS in forge.http response header and cookie trimming
- Affected
- >=0.1.2 <1.4.3
- Fixed in
- 1.4.3
Forge: TLS client crash on a handshake record received without a session
- Affected
- <1.4.3
- Fixed in
- 1.4.3
Forge: Certificate signature verified with the issuer's RSA signature scheme
- Affected
- <1.4.1
- Fixed in
- 1.4.1
Forge: Incomplete PKCS#7 padding validation in AES/DES CBC and ECB decryption
- Affected
- <1.4.1
- Fixed in
- 1.4.1
Forge: X.509 pathLenConstraint not enforced by verifyCertificateChain() for CA certificates without keyUsage
- Affected
- <1.4.1
- Fixed in
- 1.4.1
Forge: ASN.1 resource exhaustion via BIT STRING decoding in asn1.fromDer
- Affected
- <1.4.1
- Fixed in
- 1.4.1
Forge: RSA PKCS#1 v1.5 signature forgery via non-canonical DigestInfo encoding
- Affected
- <1.4.1
- Fixed in
- 1.4.1
Forge: ASN.1 OID first arc truncation in asn1.oidToDer
- Affected
- <1.4.1
- Fixed in
- 1.4.1
Forge: Prototype Pollution in forge.http cookie handling via a malicious Set-Cookie
- Affected
- <1.4.1
- Fixed in
- 1.4.1
Forge: TLS client crash when the server sends no certificate
- Affected
- <1.4.1
- Fixed in
- 1.4.1
Forge: Regular expression denial of service in PEM decoding (pem.decode)
- Affected
- <1.4.1
- Fixed in
- 1.4.1
Forge: Denial of Service via infinite loop in BigInteger.modInverse() with negative input (incomplete fix of CVE-2026-33891)
- Affected
- <1.4.1
- Fixed in
- 1.4.1
Forge: verifyCertificateChain() removes trusted CA certificates with the same subject from the CA store
- Affected
- <1.4.1
- Fixed in
- 1.4.1
Forge: AES-GCM authentication bypass via unvalidated tagLength option
- Affected
- <1.4.1
- Fixed in
- 1.4.1
Forge: PKCS#12 MAC forgery and constant-key PBE via zero iteration count
- Affected
- <1.4.1
- Fixed in
- 1.4.1
Forge: Denial of service in TLS record processing via a record interleaved with a fragmented handshake message
- Affected
- <1.4.1
- Fixed in
- 1.4.1
Forge: Denial of service in TLS record processing via call stack exhaustion
- Affected
- <1.4.1
- Fixed in
- 1.4.1
Forge: X.509 basicConstraints bypass in verifyCertificateChain() via deprecated extension OIDs 2.5.29.10 and 2.5.29.13
- Affected
- <1.4.1
- Fixed in
- 1.4.1
node-forge RSA PKCS#1 v1.5 signature verification accepts extra nested DigestAlgorithm elements
- Affected
- <=1.4.0
- Fixed in
- No fix released
Forge has a basicConstraints bypass in its certificate chain verification (RFC 5280 violation)
- Affected
- <1.4.0
- Fixed in
- 1.4.0
Forge has signature forgery in Ed25519 due to missing S > L check
- Affected
- <1.4.0
- Fixed in
- 1.4.0
Forge has signature forgery in RSA-PKCS due to ASN.1 extra field
- Affected
- <1.4.0
- Fixed in
- 1.4.0
Forge has Denial of Service via Infinite Loop in BigInteger.modInverse() with Zero Input
- Affected
- <1.4.0
- Fixed in
- 1.4.0
node-forge has ASN.1 Unbounded Recursion
- Affected
- <1.3.2
- Fixed in
- 1.3.2
node-forge is vulnerable to ASN.1 OID Integer Truncation
- Affected
- <1.3.2
- Fixed in
- 1.3.2
node-forge has an Interpretation Conflict vulnerability via its ASN.1 Validator Desynchronization
- Affected
- <1.3.2
- Fixed in
- 1.3.2
Improper Verification of Cryptographic Signature in `node-forge`
- Affected
- <1.3.0
- Fixed in
- 1.3.0
Improper Verification of Cryptographic Signature in node-forge
- Affected
- <1.3.0
- Fixed in
- 1.3.0
Improper Verification of Cryptographic Signature in node-forge
- Affected
- <1.3.0
- Fixed in
- 1.3.0
Open Redirect in node-forge
- Affected
- <1.0.0
- Fixed in
- 1.0.0
Prototype Pollution in node-forge debug API.
- Affected
- <1.0.0
- Fixed in
- 1.0.0
Prototype Pollution in node-forge util.setPath API
- Affected
- <0.10.0
- Fixed in
- 0.10.0
URL parsing in node-forge could lead to undesired behavior.
- Affected
- <1.0.0
- Fixed in
- 1.0.0
Prototype Pollution in node-forge
- Affected
- <0.10.0
- Fixed in
- 0.10.0
Is your node-forge version vulnerable?
- node-forge 1.4No known advisories in 1.4.3
- node-forge 1.325 advisories in 1.3.3
- node-forge 1.231 advisories in 1.2.1
- node-forge 1.131 advisories in 1.1.0
- node-forge 1.031 advisories in 1.0.0
- node-forge 0.1034 advisories in 0.10.0
- node-forge 0.936 advisories in 0.9.2
- node-forge 0.836 advisories in 0.8.5
- node-forge 0.736 advisories in 0.7.6
- node-forge 0.636 advisories in 0.6.49
- node-forge 0.536 advisories in 0.5.5
Which of your client projects still run an old node-forge?
NPMscan reads the package-lock.json, yarn.lock and pnpm-lock.yaml in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.
Other npm packages
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the npm registry.