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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-476"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125334.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:digitalbazaar:forge:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.4.3"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "2cfaeb516cb3d4aff1c0569d39394df41c5cb17c"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v1.4.3",
"range": [
{
"fixed": "936b24d939dc7261ee37982576f9cf2b410084ee"
}
],
"source": "REFERENCES_TAG"
}
]
}