CVE-2026-125334

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

Published Nov 10, 2026 CVSS 3.1 · 5.9 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

A forge.tls client in the Forge library can accept a handshake record when the connection has no session, such as after a close_notify alert or before a handshake call. In these cases the handler dereferences c.session.md5, producing a TypeError that propagates from connection.process(). If an application does not catch this exception the Node.js process terminates. The flaw is a null‑reference dereference (CWE‑476) and it does not compromise confidentiality or integrity, only causing a process crash.

Affected Systems

Digitalbazaar forge, the native JavaScript implementation of TLS exposed via the npm package forge, is affected in all releases older than 1.4.3. Only the client side is vulnerable; forge.tls servers are not impacted. Node.js applications that import forge <1.4.3 are at risk.

Risk and Exploitability

The CVSS base score of 5.9 indicates moderate severity, while the EPSS score of < 1% suggests a low probability of widespread exploitation. The vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that the attack vector is remote: an attacker who can present themselves as a TLS server or intercept the network stream can send a malicious handshake record after a close_notify alert, a reset, or before handshake() is called. Delivering such a record triggers the crash, providing only a denial of service with no impact on confidentiality or integrity.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the forge package to version 1.4.3 or newer
  • Add error handling around connection.process() to catch and ignore the TypeError exceptions thrown during TLS handshake
  • Restrict network exposure by ensuring the client only connects to trusted TLS servers or enforce TLS session resumption to avoid stray handshake records

Generated by OpenCVE AI on November 13, 2026 at 14:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-j8rw-jp99-435v Forge: TLS client crash on a handshake record received without a session
History
Type Values Removed Values Added
CPEs cpe:2.3:a:digitalbazaar:forge:*:*:*:*:*:node.js:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Digitalbazaar
Digitalbazaar forge
Vendors & Products Digitalbazaar
Digitalbazaar forge
Type Values Removed Values Added
Description 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.
Title Forge: TLS client crash on a handshake record received without a session
Weaknesses CWE-476
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 14, 2026, 3:01 AM
Reserved
Nov 9, 2026, 9:22 PM
Status
Analyzed
Published
Nov 10, 2026, 7:21 PM
Modified
Nov 16, 2026, 3:47 PM