CVE-2026-125334
Forge: TLS client crash on a handshake record received without a session
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.
Fixes and workarounds
Fix
node-forge (npm): GitHub reports patched versions 1.4.3. Check the advisory for the affected release branch.
Source: GitHub GHSA-j8rw-jp99-435vFix
node-forge (npm): OSV reports a fixed version 1.4.3. Check the advisory for supported release branches.
Source: OSV GHSA-j8rw-jp99-435vAffected products and versions
| Product | Versions | Authority |
|---|---|---|
| forge digitalbazaar |
< 1.4.3 (affected) | CNA: GitHub_M |
node-forgenode-forge
npm |
<= 1.4.2 (affected, GitHub advisory range) | GitHub GHSA-j8rw-jp99-435v |
node-forgenode-forge
npm |
≥ 0; < 1.4.3 (affected, semver); OSV events: introduced 0; fixed 1.4.3Source events (semver)
Other versions: unaffected |
OSV GHSA-j8rw-jp99-435v |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 5.9 medium |
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H | CNA: GitHub_M |
| 3.1 / 5.9 medium |
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD: [email protected] |
Exploit evidence
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-j8rw-jp99-435v
exploit · ADP: CISA-ADP
References
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-j8rw-jp99-435vCNA: GitHub_M · x_refsource_CONFIRM
- https://github.com/digitalbazaar/forge/pull/1169CNA: GitHub_M · x_refsource_MISC
- https://github.com/digitalbazaar/forge/commit/2cfaeb516cb3d4aff1c0569d39394df41c5cb17cCNA: GitHub_M · x_refsource_MISC
- https://github.com/digitalbazaar/forge/releases/tag/v1.4.3CNA: GitHub_M · x_refsource_MISC
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-j8rw-jp99-435vADP: CISA-ADP · exploit
- https://github.com/digitalbazaar/forge/commit/2cfaeb516cb3d4aff1c0569d39394df41c5cb17c[email protected]
- https://github.com/digitalbazaar/forge/pull/1169[email protected]
- https://github.com/digitalbazaar/forge/releases/tag/v1.4.3[email protected]
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-j8rw-jp99-435v[email protected]
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-j8rw-jp99-435vGitHub Security Advisories · advisory
- https://github.com/advisories/GHSA-j8rw-jp99-435vOSV / GitHub Security Advisories · advisory
- https://osv.dev/vulnerability/GHSA-j8rw-jp99-435vOSV / GitHub Security Advisories · osv
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.