npm

node-forge

View on npm registry
36 Total advisories
36 Vulnerabilities
0 Malware

Dependency scanning

Check whether node-forge is in your codebase

Corgea flags malicious and compromised dependencies with reachability analysis, so you fix the packages that actually run in your application instead of working through the whole lockfile.

Vulnerabilities

MEDIUM 5.9
npm

CVE-2026-125334

Forge: TLS client crash on a handshake record received without a session

MEDIUM 5.9
npm

CVE-2026-125332

Forge: TLS client crash on an unsupported ServerHello compression method

MEDIUM 5.9
npm

CVE-2026-125333

Forge: ReDoS in forge.http response header and cookie trimming

LOW 3.7
npm

CVE-2026-125335

Forge: Ed25519 signature verification accepts small-order public keys

HIGH 7.5
npm

CVE-2026-119191

Forge: ASN.1 resource exhaustion via BIT STRING decoding in asn1.fromDer

MEDIUM 5.9
npm

CVE-2026-119189

Forge: X.509 pathLenConstraint not enforced by verifyCertificateChain() for CA certificates without keyUsage

HIGH 7.5
npm

CVE-2026-119192

Forge: RSA PKCS#1 v1.5 signature forgery via non-canonical DigestInfo encoding

LOW 3.7
npm

CVE-2026-118776

Forge: Incomplete PKCS#7 padding validation in AES/DES CBC and ECB decryption

LOW 3.7
npm

CVE-2026-118774

Forge: Certificate signature verified with the issuer's RSA signature scheme

HIGH 7.5
npm

CVE-2026-119188

Forge: Denial of service in TLS record processing via a record interleaved with a fragmented handshake message

HIGH 7.4
npm

CVE-2026-119190

Forge: X.509 basicConstraints bypass in verifyCertificateChain() via deprecated extension OIDs 2.5.29.10 and 2.5.29.13

HIGH 7.5
npm

CVE-2026-119187

Forge: Denial of service in TLS record processing via call stack exhaustion

HIGH 7.5
npm

CVE-2026-118779

Forge: Regular expression denial of service in PEM decoding (pem.decode)

MEDIUM 5.9
npm

CVE-2026-118778

Forge: TLS client crash when the server sends no certificate

LOW 3.7
npm

CVE-2026-118780

Forge: verifyCertificateChain() removes trusted CA certificates with the same subject from the CA store

MEDIUM 4.8
npm

CVE-2026-118777

Forge: Prototype Pollution in forge.http cookie handling via a malicious Set-Cookie

MEDIUM 5.9
npm

CVE-2026-119186

Forge: AES-GCM authentication bypass via unvalidated tagLength option

HIGH 7.5
npm

CVE-2026-118782

Forge: PKCS#12 MAC forgery and constant-key PBE via zero iteration count

LOW 2.9
npm

CVE-2026-118781

Forge: Denial of Service via infinite loop in BigInteger.modInverse() with negative input (incomplete fix of CVE-2026-33891)

LOW 3.7
npm

CVE-2026-118775

Forge: ASN.1 OID first arc truncation in asn1.oidToDer

HIGH 7.5
npm

CVE-2026-33894

Forge has signature forgery in RSA-PKCS due to ASN.1 extra field

HIGH 7.5
npm

CVE-2026-33894

node-forge RSA PKCS#1 v1.5 signature verification accepts extra nested DigestAlgorithm elements

HIGH 7.5
npm

CVE-2026-33895

Forge has signature forgery in Ed25519 due to missing S > L check

HIGH 7.5
npm

CVE-2026-33891

Forge has Denial of Service via Infinite Loop in BigInteger.modInverse() with Zero Input

HIGH 7.4
npm

CVE-2026-33896

Forge has a basicConstraints bypass in its certificate chain verification (RFC 5280 violation)

HIGH 8.6
npm

CVE-2025-12816

node-forge has an Interpretation Conflict vulnerability via its ASN.1 Validator Desynchronization

UNKNOWN
npm

CVE-2025-66030

node-forge is vulnerable to ASN.1 OID Integer Truncation

UNKNOWN
npm

CVE-2025-66031

node-forge has ASN.1 Unbounded Recursion

CRITICAL 9.8
npm

CVE-2020-7720

Prototype Pollution in node-forge

MEDIUM 5.3
npm

CVE-2022-24773

Improper Verification of Cryptographic Signature in `node-forge`

HIGH 7.5
npm

CVE-2022-24772

Improper Verification of Cryptographic Signature in node-forge

HIGH 7.5
npm

CVE-2022-24771

Improper Verification of Cryptographic Signature in node-forge

MEDIUM 6.1
npm

CVE-2022-0122

Open Redirect in node-forge

UNKNOWN
npm

GHSA-5rrq-pxf6-6jx5

Prototype Pollution in node-forge debug API.

UNKNOWN
npm

GHSA-wxgw-qj99-44c2

Prototype Pollution in node-forge util.setPath API

UNKNOWN
npm

GHSA-gf8q-jrpm-jvxq

URL parsing in node-forge could lead to undesired behavior.

Learn What is SAST?

Static Application Security Testing finds vulnerabilities like this one in source code before it ships. Read the guide →

Ready to move

Start Securing

Free, no credit card | First findings in minutes