SB2026110692 - Multiple vulnerabilities in node-forge
Published: November 6, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 17 vulnerabilities.
1) Improper Verification of Cryptographic Signature (CVE-ID: CVE-2026-85393)
CWE-ID: CWE-347 - Improper Verification of Cryptographic Signature
CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows an unauthenticated remote attacker to forge RSA signatures for arbitrary messages without the private key.
The vulnerability exists due to node-forge's RSASSA-PKCS1-v1_5 verification accepting extra elements in the nested DigestAlgorithm sequence of a supplied signature's DigestInfo. An unauthenticated remote attacker can submit a crafted signature that verifies as valid when the application uses an RSA public key with a low exponent such as e=3.
2) Improper validation of integrity check value (CVE-ID: CVE-2026-118776)
CWE-ID: CWE-354 - Improper Validation of Integrity Check Value
CVSSv4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows an unauthenticated remote attacker to cause applications to accept malformed ciphertext as valid.
The vulnerability exists due to incomplete PKCS#7 padding validation during AES or DES decryption in node-forge's CBC and ECB modes. An unauthenticated remote attacker can modify unauthenticated ciphertext to silently remove up to four blocks of trailing plaintext when applications rely on decipher.finish() to determine validity.
3) Prototype pollution (CVE-ID: CVE-2026-118777)
CWE-ID: CWE-1321 - Improperly Controlled Modification of Object Prototype Attributes (\'Prototype Pollution\')
CVSSv4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N]
The vulnerability allows an unauthenticated remote attacker to alter application logic or disrupt pages and processes through prototype pollution.
The vulnerability exists due to inherited-property handling in the plain-object cookie store of node-forge's forge.http client when processing malicious Set-Cookie response headers. An unauthenticated remote attacker can control a server contacted by an application using forge.http, directly or through forge.xhr, and send crafted cookies that add shared prototype properties or delete built-in prototype methods.
4) NULL pointer dereference (CVE-ID: CVE-2026-118778)
CWE-ID: CWE-476 - NULL Pointer Dereference
CVSSv4: 8.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows an unauthenticated remote attacker to crash applications using the node-forge TLS client, causing denial of service.
The vulnerability exists due to an ineffective missing-certificate check in the TLS client, which dereferences a null certificate when a handshake proceeds without a server certificate. An unauthenticated remote attacker can operate a server the client connects to or modify an on-path handshake to omit the certificate, triggering an exception that terminates the application if uncaught.
5) Resource exhaustion (CVE-ID: CVE-2026-119191)
CWE-ID: CWE-400 - Resource exhaustion
CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows an unauthenticated remote attacker to cause denial of service by exhausting CPU and memory in applications using node-forge.
The vulnerability exists due to unenforced recursion limits and repeated content copying when node-forge's asn1.fromDer() decodes nested BIT STRINGs with default options. An unauthenticated remote attacker can submit a small crafted DER or PEM structure to an application that parses it, causing fatal Node.js memory exhaustion.
6) Improper Certificate Validation (CVE-ID: CVE-2026-119190)
CWE-ID: CWE-295 - Improper Certificate Validation
CVSSv4: 9.1 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows an unauthenticated remote attacker to impersonate TLS peers and intercept traffic in applications using node-forge.
The vulnerability exists due to node-forge's certificate chain verification accepting deprecated OIDs 2.5.29.10 and 2.5.29.13 as basicConstraints and prioritizing them over genuine constraints. An unauthenticated remote attacker can obtain a certificate containing an attacker-supplied deprecated extension asserting CA status from an application's trusted CA, with no keyUsage restriction against certificate signing, then sign certificates for arbitrary names that the application accepts.
7) Improper Certificate Validation (CVE-ID: CVE-2026-119189)
CWE-ID: CWE-295 - Improper Certificate Validation
CVSSv4: 8.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows an unauthenticated remote attacker to make applications accept certificate chains exceeding trusted CA path length constraints.
The vulnerability exists due to node-forge's forge.pki.verifyCertificateChain() skipping pathLenConstraint enforcement when a CA certificate lacks keyUsage. An unauthenticated remote attacker can use that CA's private key or a CA certificate obtained from it to present subordinate CA chains that validate despite exceeding the constraint, provided the constrained CA chains to a root trusted by the application.
8) Inefficient regular expression complexity (CVE-ID: CVE-2026-118779)
CWE-ID: CWE-1333 - Inefficient Regular Expression Complexity
CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows an unauthenticated remote attacker to cause denial of service in applications that pass untrusted PEM input to node-forge.
The vulnerability exists due to excessive regular expression backtracking in pem.decode() when processing messages without matching END lines or long encapsulated headers. An unauthenticated remote attacker can submit crafted input of a few tens of kilobytes to block the Node.js event loop for seconds to minutes, preventing the process from serving other requests.
9) Improper Verification of Cryptographic Signature (CVE-ID: CVE-2026-119192)
CWE-ID: CWE-347 - Improper Verification of Cryptographic Signature
CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows an unauthenticated remote attacker to forge RSA PKCS#1 v1.5 signatures that node-forge accepts as valid without possessing the private key.
The vulnerability exists due to node-forge signature verification accepting non-canonical DigestInfo encodings containing attacker-controlled bytes instead of requiring canonical DER encoding. An unauthenticated remote attacker can submit a crafted signature to bypass verification when the application uses an RSA public key with a low exponent such as e=3.
10) Integer overflow (CVE-ID: CVE-2026-118775)
CWE-ID: CWE-190 - Integer overflow
CVSSv4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows an unauthenticated remote attacker to cause applications using node-forge to emit a trusted OID different from the authorized input.
The vulnerability exists due to missing range checks on the first two OID arcs in node-forge's asn1.oidToDer() when encoding attacker-supplied strings. An unauthenticated remote attacker can submit an out-of-range OID to applications that authorize untrusted OIDs as strings before encoding them, producing DER for another OID.
11) Uncontrolled Recursion (CVE-ID: CVE-2026-119187)
CWE-ID: CWE-674 - Uncontrolled Recursion
CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows an unauthenticated remote attacker to terminate Node.js applications using node-forge TLS, denying service to all their connections.
The vulnerability exists due to uncontrolled recursion in node-forge's TLS record processing when thousands of heartbeat records arrive in one chunk before the handshake. An unauthenticated remote attacker can send this chunk as a connected peer to exhaust the call stack and trigger an uncaught exception in applications using the documented socket wiring.
12) Uncaught Exception (CVE-ID: CVE-2026-119188)
CWE-ID: CWE-248 - Uncaught Exception
CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows an unauthenticated remote attacker to cause denial of service by terminating Node.js applications using node-forge TLS.
The vulnerability exists due to an uncaught exception in TLS record processing when a record of another content type interrupts a fragmented handshake message. An unauthenticated remote attacker can send 18 bytes to a connected TLS peer before handshake completion and crash applications using the documented socket wiring, dropping all served connections.
13) Improper validation of integrity check value (CVE-ID: CVE-2026-118782)
CWE-ID: CWE-354 - Improper Validation of Integrity Check Value
CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows an unauthenticated remote attacker to forge password-protected PKCS#12/PFX contents without knowing the password.
The vulnerability exists due to node-forge accepting zero or negative iteration counts in PKCS#12 key derivation, producing password-independent keys when applications import untrusted files. An unauthenticated remote attacker can supply crafted files containing chosen certificates and private keys that pass MAC verification or PKCS#12 password-based decryption under any application-supplied password.
14) Improper validation of integrity check value (CVE-ID: CVE-2026-119186)
CWE-ID: CWE-354 - Improper Validation of Integrity Check Value
CVSSv4: 8.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows an unauthenticated remote attacker to bypass AES-GCM authentication and have attacker-chosen ciphertext accepted as authentic.
The vulnerability exists due to missing validation of the tagLength option in node-forge's AES-GCM implementation when an application supplies a value that converts to zero. An unauthenticated remote attacker can submit arbitrary ciphertext with an empty or missing authentication tag to such an application and cause decryption to report successful authentication.
15) Modification of assumed-immutable data (CVE-ID: CVE-2026-118780)
CWE-ID: CWE-471 - Modification of Assumed-Immutable Data
CVSSv4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
The vulnerability allows an unauthenticated remote attacker to cause persistent denial of service for certificate verification against affected trusted CAs.
The vulnerability exists due to node-forge's pki.verifyCertificateChain() removing trusted certificates when a reused CA store contains multiple certificates sharing a subject name. An unauthenticated remote attacker can submit a certificate naming that subject as its issuer, removing all matching trusted certificates and causing subsequent valid chains to fail verification for the store's remaining lifetime.
16) Infinite loop (CVE-ID: CVE-2026-118781)
CWE-ID: CWE-835 - Loop with Unreachable Exit Condition ('Infinite Loop')
CVSSv4: 2 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
The vulnerability allows an unprivileged local attacker to cause denial of service by indefinitely blocking the Node.js event loop.
The vulnerability exists due to an unreachable loop exit condition in node-forge's bundled jsbn modular inversion routine when the value or modulus is negative. An unprivileged local attacker can supply a negative RSA public exponent or modular inversion operand to applications accepting untrusted inputs for these operations, causing sustained CPU consumption.
17) Improper Verification of Cryptographic Signature (CVE-ID: CVE-2026-118774)
CWE-ID: CWE-347 - Improper Verification of Cryptographic Signature
CVSSv4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows an unauthenticated remote attacker to bypass signature-algorithm policies in applications relying on node-forge certificate verification.
The vulnerability exists due to node-forge selecting RSA padding from the issuer certificate rather than the certificate being verified during chain verification. An unauthenticated remote attacker can relabel a legitimately issued PKCS#1 v1.5 certificate as RSASSA-PSS and have it accepted when the trusted issuer certificate is also signed using PKCS#1 v1.5, without forging the certified identity.
Remediation
Install update from vendor's website.
References
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-2g46-22mc-6gwp
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-2vgq-wchc-25w7
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-6wvx-3r32-xmcg
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-525v-9gp9-w22h
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-rhr8-3pm8-cq29
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-5x38-2vff-x55p
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-h46v-rmh6-fq4f
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-7wch-p9px-956x
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-6qrw-m8cv-hcxf
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-4642-5mcj-2rqw
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-hqq3-7jhf-c5jx
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-8hrf-8g6f-7xwp
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-jc66-7q78-782g
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-5cwg-6vw7-rj6p
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-4487-j8r4-4g2f
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-h6cr-wjv9-3cpp
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-9wg5-mj3p-v49q