Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessClient connects to attacker-controlled or on-path TLS endpoint
-
DeliveryClient enters sessionless state (close_notify, close(), or pre-handshake)
-
ExploitServer injects stray ServerHello handshake record
-
ExecutionhandleHandshake dereferences null c.session.md5
-
ImpactUncaught TypeError terminates Node.js process
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitable only when the application uses forge.tls in the CLIENT role (server: false) AND passes network socket data to connection.process() without catching exceptions (the vulnerable pattern shown in the project README). The client must be in a no-session state when the handshake record arrives - specifically before handshake() is first called, after the application calls close(), or after the server sends a close_notify alert (any alert level), because c.reset() sets c.session to null without setting the fail flag. The malicious record is a ServerHello handshake record; a server the client connects to can send it directly, and because the post-reset connection uses no encryption, an on-path attacker can inject it even against an honest server. LIMITING FACTORS: forge.tls servers are completely unaffected (a server creates its session on ClientHello); applications that wrap process() in try/catch and close the socket, or that stop feeding data to process() after the 'closed' callback until handshake() is called again, are not impacted; impact is confined to process termination with no confidentiality or integrity consequence. |
| Impact | This is a moderate-severity, availability-only denial of service with no confidentiality or integrity impact (CVSS 3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H = 5.9). The CVSS vector is internally consistent with the mechanism: AV:N reflects that a malicious server or on-path attacker delivers the record over the network, PR:N/UI:N reflect no authentication or user interaction, and A:H-only matches a process-termination DoS. AC:H reflects that the crash requires the client to be in a specific sessionless window (before handshake(), after close(), or after a server close_notify), which the vendor judged non-trivial to always arrange; the vendor's informational CVSS 4.0 (AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H, 8.2) maps that same gating to AT:P and scores higher, but the vendor states the rating follows the 3.1 score. No EPSS score was provided in the input and the CVE is not on CISA KEV, so there is no evidence of active exploitation; exploitation status is best described as no public exploitation confirmed, though a working PoC is published. The vuln.today priority is 'this_month', not act_now/emergency, consistent with a patchable, impact-limited DoS. Net: this is a real but bounded bug - worth patching on a normal cycle for anyone using forge.tls as a client, not a drop-everything emergency, and entirely irrelevant to forge.tls server deployments. |
| Exploit ScenarioDerived | A Node.js application uses forge.tls as a client and forwards raw socket bytes to connection.process() without wrapping it in a try/catch, as the project README example does. The attacker - either a malicious server the client connects to, or an on-path attacker injecting unencrypted records after a connection reset - sends a ServerHello handshake record while the client has no session, causing an uncaught TypeError that terminates the Node.js process and drops all its connections. A working PoC is published in the project's own test suite (tests/pocs/ghsa-j8rw-jp99-435v.js), so the trigger sequence is fully documented. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 11, 2026
An uncaught TypeError in node-forge's TLS client implementation (forge.tls) lets a malicious server, or an on-path attacker when the post-reset connection is unencrypted, terminate a Node.js process by sending a ServerHello handshake record while the client holds no session - that is, before handshake() is ever called, after the application calls close(), or after a close_notify alert of any level. Only applications acting in the client role (server: false) that pass socket data straight to connection.process() without catching exceptions are affected; forge.tls servers are not, and there is no confidentiality or integrity impact, so this is availability-only (CVSS 3.1 5.9, AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H). The flaw is fixed in node-forge 1.4.3; a public PoC reference exists in the upstream test suite and advisory, though it is not verified as working exploit code, and no active exploitation (CISA KEV) is indicated.
RemediationAI
Upgrade node-forge to 1.4.3, the vendor-released fixed version (release notes: https://github.com/digitalbazaar/forge/releases/tag/v1.4.3), which causes handshake records received without a session to be ignored; the code change is in commit 2cfaeb516cb3d4aff1c0569d39394df41c5cb17c via pull request 1169. Where the upgrade cannot be applied immediately, the advisory documents two workarounds: wrap every connection.process() call in try/catch and close the socket on exception, accepting that the connection is torn down and that repeated malicious records can still force reconnections, or stop feeding socket data to process() once the closed callback has fired and until handshake() is called again, which requires application-level state tracking but preserves availability. Systems that only use forge.tls in the server role need no action for this specific issue, since servers create their session on ClientHello and do not reach the null-dereference path.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
node-forge is a pure-JavaScript implementation of TLS and related cryptography used widely in the npm ecosystem. In lib/tls.js, tls.handleHandshake() updates the handshake transcript digests via c.session.md5.update(bytes) before dispatching the message, and the client only creates c.session inside handshake(), while c.reset() sets session to null when the connection closes. Because closing does not set the fail flag, the client returns to expecting a ServerHello, so a subsequent Handshake record still reaches handleHandshake() and dereferences null - the classic CWE-476 null pointer dereference. The fix (pull request 1169, commit 2cfaeb) gates the dispatch on (c.session || c.entity === tls.ConnectionEnd.server), so unsolicited handshake messages on a session-less client are ignored like other unexpected records. The CVSS AC:H reflects the state-dependent preconditions (client role, no-session window, uncaught exception) rather than any timing or race condition; the trigger path is documented explicitly in the advisory and reproduced in tests/pocs/ghsa-j8rw-jp99-435v.js, and the advisory itself notes the 4.0 score of 8.2 is informational only because that scheme lacks a counterpart to AC:H.
Know when Forge gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Network-delivered by malicious or on-path server, no auth or interaction (PR:N/UI:N), but requires the client's sessionless window and an uncaught exception (AC:H); availability-only (A:H, C/I:N).
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
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 after a close_notify alert, after the application calls close(), or before handshake() is called. The handler dereferences c.session.md5 before dispatching the message, causing a TypeError to propagate from connection.process(). A malicious server or on-path attacker can deliver the record, including after a reset when the connection uses no encryption, and terminate a Node.js process if the application does not catch the exception. forge.tls servers are not affected, and there is no confidentiality or integrity impact. This issue is fixed in version 1.4.3.
Blast Radius
ecosystem impact- 64,978 npm packages depend on node-forge (3,164 direct, 61,928 indirect)
Ecosystem-wide dependent count for version 1.4.3.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
An interpretation-conflict (CWE-436) vulnerability in node-forge versions 1.3.1 and earlier enables unauthenticated atta
The package node-forge before 0.10.0 is vulnerable to Prototype Pollution via the util.setPath function. Rated high seve
OID-based authorization bypass in node-forge through 1.4.0: asn1.oidToDer() fails to range-check the first two arcs of a
RSA PKCS#1 v1.5 signature forgery in node-forge through v1.4.0 enables unauthenticated network attackers to craft signat
Forge (also called `node-forge`) is a native implementation of Transport Layer Security in JavaScript. Rated high severi
Regular expression denial of service in node-forge's pem.decode() allows remote, unauthenticated attackers to block the
Denial of service in node-forge (Forge) 1.3.2 through 1.4.0 lets remote, unauthenticated attackers exhaust CPU time and
Denial of service in node-forge's JavaScript TLS implementation: a connection created with forge.tls.createConnection()
Call stack exhaustion in node-forge's TLS record processing (all versions through 1.4.0) allows a remote peer to crash o
PKCS#12 MAC forgery and constant-key password-based decryption in node-forge 1.4.0 and earlier let anyone who does not k
Forge (also called `node-forge`) is a native implementation of Transport Layer Security in JavaScript. Rated high severi
Forge (also called `node-forge`) is a native implementation of Transport Layer Security in JavaScript. Rated high severi
EUVD-2026-122794
GHSA-j8rw-jp99-435v
NVD
CVE.org
EPSS
Exploit-DB