Install
node-forge
JavaScript implementations of network transports, cryptography, ciphers, PKI, message digests, and various utilities.
1.4.4Latest, 23 Nov 2026
238MDownloads, last month
0Advisories on the latest
37Advisories, all versions
(BSD-3-Clause OR GPL-...Licence
5.4KStars
5.0/10OpenSSF Scorecard
Source · Homepage · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| High | node-forge: RSA PKCS#1 v1.5 signature forgery via extra elements in nested DigestAlgorithm CVE-2026-85393 | Fixed in 1.4.1 | 1 Dec 2026 |
| Low | Forge: RSA multi-prime private keys are read as two-prime keys, and signatures leak a factor of the modulus CVE-2026-140099 | Fixed in 1.4.4 | 1 Dec 2026 |
| Low | Forge: Incomplete PKCS#7 padding validation in AES/DES CBC and ECB decryption CVE-2026-118776 | Fixed in 1.4.1 | 10 Nov 2026 |
| Low | Forge: Ed25519 signature verification accepts small-order public keys CVE-2026-125335 | Fixed in 1.4.3 | 10 Nov 2026 |
| Moderate | Forge: ReDoS in forge.http response header and cookie trimming CVE-2026-125333 | Fixed in 1.4.3 | 10 Nov 2026 |
| High | Forge: RSA PKCS#1 v1.5 signature forgery via non-canonical DigestInfo encoding CVE-2026-119192 | Fixed in 1.4.1 | 10 Nov 2026 |
| Low | Forge: Certificate signature verified with the issuer's RSA signature scheme CVE-2026-118774 | Fixed in 1.4.1 | 10 Nov 2026 |
| Moderate | Forge: X.509 pathLenConstraint not enforced by verifyCertificateChain() for CA certificates without keyUsage CVE-2026-119189 | Fixed in 1.4.1 | 10 Nov 2026 |
| Moderate | Forge: TLS client crash on a handshake record received without a session CVE-2026-125334 | Fixed in 1.4.3 | 10 Nov 2026 |
| High | Forge: ASN.1 resource exhaustion via BIT STRING decoding in asn1.fromDer CVE-2026-119191 | Fixed in 1.4.1 | 10 Nov 2026 |
| Moderate | Forge: TLS client crash on an unsupported ServerHello compression method CVE-2026-125332 | Fixed in 1.4.3 | 10 Nov 2026 |
| Low | Forge: verifyCertificateChain() removes trusted CA certificates with the same subject from the CA store CVE-2026-118780 | Fixed in 1.4.1 | 30 Oct 2026 |
| Low | Forge: ASN.1 OID first arc truncation in asn1.oidToDer CVE-2026-118775 | Fixed in 1.4.1 | 30 Oct 2026 |
| Moderate | Forge: TLS client crash when the server sends no certificate CVE-2026-118778 | Fixed in 1.4.1 | 30 Oct 2026 |
| Moderate | Forge: AES-GCM authentication bypass via unvalidated tagLength option CVE-2026-119186 | Fixed in 1.4.1 | 30 Oct 2026 |
In the news
- CVE-2026-118775: CVE-2026-118775: ASN.1 OID First Arc Truncation and Ambiguity in node-forge dev.to, 31 Oct 2026
- Set certificate extensions with node-forge stackoverflow.com, 10 Jan 2025
- Encryption/decryption issue when working with files (other than .txt) using Node Forge stackoverflow.com, 7 Dec 2024
- 'Encrypted message length is invalid.' using node-forge to decrypt the message encrypted from jsencrypt stackoverflow.com, 27 Nov 2024
- Getting javax.crypto.BadPaddingException: Decryption error in Java backend while decrypting Encrypted Text from JavaScript frontend using node-forge stackoverflow.com, 22 Aug 2024
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.