Skip to content

CVE-2026-125334 Forge: TLS client crash on a handshake record received without a session

MediumCVSS 5.9 EPSS 0.34%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
Ubuntu

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.

Upgrade path

5 packages: 2 fixed, 3 with no fix yet.

PackageAffectedFixed inStatus
azure linux grafana(Azure Linux 4.0) All versions No fix listed No fix yet
azure linux js-d3-flame-graph(Azure Linux 4.0) All versions No fix listed No fix yet
ubuntu/node-node-forge(Ubuntu 22.04) All versions No fix listed No fix yet
digitalbazaar forge < 1.4.3; = < 1.4.3 1.4.3 Fixed
npm node-forge(npm) < 1.4.3; <= 1.4.2 1.4.3 Fixed

Affected products

ProductAffected versionsFixed in
npm node-forge(npm) <= 1.4.2 No fix listed
digitalbazaar forge = < 1.4.3 No fix listed
digitalbazaar forge < 1.4.3 1.4.3
npm node-forge(npm) < 1.4.3 1.4.3
ubuntu/node-node-forge(Ubuntu:22.04) All versions No fix listed
azure linux grafana(Azure Linux:4.0) All versions No fix listed
azure linux js-d3-flame-graph(Azure Linux:4.0) All versions No fix listed

References