Every CVESearch/Get API key

CVE-2026-125334

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

Explain with AI
ChatGPTClaudeGoogle AI
Severity
5.9Medium
Network attack, no privileges, no user interactionCVSS 3.1, CVE List
Exploitation
Unknown
No source reports exploitation yet.
Exploit chance
0.34% in 30 days
Percentile28th
EPSS, scored
Listed fix
1.4.3 for node-forge (npm)
From GitHub Advisories and OSV28 other affected packages

Overview

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.

CVSS 3.1 vector

Exploitability

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
None

Impact

Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploit chance over time

Up 0.1 points since Nov 11, 2026
EPSS score, scored every day from Nov 11, 2026 to Dec 4, 2026: lowest 0.28% on Nov 11, 2026, highest 0.36% on Nov 25, 2026, 0.34% on the last day.

Affected

Packages 29

Affected packages
PackageAffectedFixed
node-forge
npm
through 1.4.2
1.4.3
before 1.4.3
1.4.3
python-tensorboard
Azure Linux:3
through 2.16.2-6None listed
kyverno-policy-reporter-ui-dev
Docker Hardened Images:Alpine:3.23
2.6.1-r0 and later, plus listed versions
2.7.0-r02.7.0-r12.7.0-r22.7.1-r02.7.1-r1
Show 20 more versionsShow less
2.7.1-r22.7.2-r02.7.2-r12.7.3-r02.8.1-r02.8.1-r12.8.1-r22.8.1-r32.8.1-r42.8.1-r52.9.0-r12.9.1-r02.9.1-r12.9.1-r22.9.1-r32.9.1-r42.9.1-r52.9.1-r62.9.1-r72.9.1-r8
None listed
kyverno-policy-reporter-ui-dev
Docker Hardened Images:Alpine:3.24
2.6.1-r0 and later, plus listed versions
2.7.0-r02.7.0-r12.7.0-r22.7.1-r02.7.1-r1
Show 20 more versionsShow less
2.7.1-r22.7.2-r02.7.2-r12.7.3-r02.8.1-r02.8.1-r12.8.1-r22.8.1-r32.8.1-r42.8.1-r52.9.0-r12.9.1-r02.9.1-r12.9.1-r22.9.1-r32.9.1-r42.9.1-r52.9.1-r62.9.1-r72.9.1-r8
None listed
kyverno-policy-reporter-ui-fips-dev
Docker Hardened Images:Alpine:3.23
2.6.1-r0 and later, plus listed versions
2.7.0-r02.7.0-r12.7.0-r22.7.1-r02.7.1-r1
Show 20 more versionsShow less
2.7.1-r22.7.2-r02.7.2-r12.7.3-r02.8.1-r02.8.1-r12.8.1-r22.8.1-r32.8.1-r42.8.1-r52.9.0-r12.9.1-r02.9.1-r12.9.1-r22.9.1-r32.9.1-r42.9.1-r52.9.1-r62.9.1-r72.9.1-r8
None listed
kyverno-policy-reporter-ui-fips-dev
Docker Hardened Images:Alpine:3.24
2.6.1-r0 and later, plus listed versions
2.7.0-r02.7.0-r12.7.0-r22.7.1-r02.7.1-r1
Show 20 more versionsShow less
2.7.1-r22.7.2-r02.7.2-r12.7.3-r02.8.1-r02.8.1-r12.8.1-r22.8.1-r32.8.1-r42.8.1-r52.9.0-r12.9.1-r02.9.1-r12.9.1-r22.9.1-r32.9.1-r42.9.1-r52.9.1-r62.9.1-r72.9.1-r8
None listed
kyverno-policy-reporter-ui-fips
Docker Hardened Images:Alpine:3.23
2.6.1-r0 and later, plus listed versions
2.7.0-r02.7.0-r12.7.0-r22.7.1-r02.7.1-r1
Show 20 more versionsShow less
2.7.1-r22.7.2-r02.7.2-r12.7.3-r02.8.1-r02.8.1-r12.8.1-r22.8.1-r32.8.1-r42.8.1-r52.9.0-r12.9.1-r02.9.1-r12.9.1-r22.9.1-r32.9.1-r42.9.1-r52.9.1-r62.9.1-r72.9.1-r8
None listed
kyverno-policy-reporter-ui-fips
Docker Hardened Images:Alpine:3.24
2.6.1-r0 and later, plus listed versions
2.7.0-r02.7.0-r12.7.0-r22.7.1-r02.7.1-r1
Show 20 more versionsShow less
2.7.1-r22.7.2-r02.7.2-r12.7.3-r02.8.1-r02.8.1-r12.8.1-r22.8.1-r32.8.1-r42.8.1-r52.9.0-r12.9.1-r02.9.1-r12.9.1-r22.9.1-r32.9.1-r42.9.1-r52.9.1-r62.9.1-r72.9.1-r8
None listed
kyverno-policy-reporter-ui
Docker Hardened Images:Alpine:3.23
2.6.1-r0 and later, plus listed versions
2.7.0-r02.7.0-r12.7.0-r22.7.1-r02.7.1-r1
Show 20 more versionsShow less
2.7.1-r22.7.2-r02.7.2-r12.7.3-r02.8.1-r02.8.1-r12.8.1-r22.8.1-r32.8.1-r42.8.1-r52.9.0-r12.9.1-r02.9.1-r12.9.1-r22.9.1-r32.9.1-r42.9.1-r52.9.1-r62.9.1-r72.9.1-r8
None listed
Show 20 more packagesShow less
Affected packages
PackageAffectedFixed
kyverno-policy-reporter-ui
Docker Hardened Images:Alpine:3.24
2.6.1-r0 and later, plus listed versions
2.7.0-r02.7.0-r12.7.0-r22.7.1-r02.7.1-r1
Show 20 more versionsShow less
2.7.1-r22.7.2-r02.7.2-r12.7.3-r02.8.1-r02.8.1-r12.8.1-r22.8.1-r32.8.1-r42.8.1-r52.9.0-r12.9.1-r02.9.1-r12.9.1-r22.9.1-r32.9.1-r42.9.1-r52.9.1-r62.9.1-r72.9.1-r8
None listed
logto-1
Docker Hardened Images:Alpine:3.23
1.45.0-r0 and later, plus listed versions
1.45.0-r11.45.0-r21.45.0-r31.45.0-r41.46.0-r0
Show 8 more versionsShow less
1.46.0-r11.46.0-r21.46.0-r31.46.0-r41.46.0-r51.46.0-r61.46.0-r71.46.0-r8
None listed
logto-1
Docker Hardened Images:Alpine:3.24
1.45.0-r0 and later, plus listed versions
1.45.0-r11.45.0-r21.45.0-r31.45.0-r41.46.0-r0
Show 8 more versionsShow less
1.46.0-r11.46.0-r21.46.0-r31.46.0-r41.46.0-r51.46.0-r61.46.0-r71.46.0-r8
None listed
postman-mcp
Docker Hardened Images:Alpine:3.23
2.11.2-r5 and later, plus listed versions
2.12.0-r02.12.2-r02.12.3-r02.13.0-r02.14.0-r02.15.0-r02.15.0-r12.15.0-r2
None listed
postman-mcp
Docker Hardened Images:Alpine:3.24
2.9.1-r0 and later, plus listed versions
2.11.0-r02.11.1-r02.11.1-r12.11.2-r12.11.2-r2
Show 11 more versionsShow less
2.11.2-r32.11.2-r42.11.2-r52.12.0-r02.12.2-r02.12.3-r02.13.0-r02.14.0-r02.15.0-r02.15.0-r12.15.0-r2
None listed
sorry-cypress-director-2
Docker Hardened Images:Alpine:3.23
2.6.0-r0 and later, plus listed versions
2.6.0-r102.6.0-r22.6.0-r32.6.0-r42.6.0-r5
Show 4 more versionsShow less
2.6.0-r62.6.0-r72.6.0-r82.6.0-r9
None listed
sorry-cypress-director-2
Docker Hardened Images:Alpine:3.24
2.6.0-r0 and later, plus listed versions
2.6.0-r102.6.0-r22.6.0-r32.6.0-r42.6.0-r5
Show 4 more versionsShow less
2.6.0-r62.6.0-r72.6.0-r82.6.0-r9
None listed
kibana-9.4
Docker Hardened Images:Debian:13
9.4.5-1 and later, plus listed versions
9.4.10-09.4.10-19.4.10-29.4.7-09.4.8-0
Show 18 more versionsShow less
9.4.8-19.4.8-119.4.8-129.4.8-139.4.8-149.4.8-29.4.8-39.4.8-49.4.8-59.4.8-69.4.8-79.4.8-89.4.8-99.4.9-09.4.9-19.4.9-29.4.9-39.4.9-4
None listed
kibana-9.5
Docker Hardened Images:Debian:13
9.5.5-0 and later, plus listed versions
9.5.5-19.5.5-109.5.5-119.5.5-129.5.5-2
Show 13 more versionsShow less
9.5.5-39.5.5-49.5.5-59.5.5-69.5.5-79.5.5-99.5.6-09.5.6-19.5.6-29.5.6-39.5.7-09.5.7-19.5.7-2
None listed
kubeflow-pipelines-frontend
Docker Hardened Images:Debian:13
2.17.0-0 up to 2.18.0-0, plus listed versions
2.17.0-12.17.0-22.17.0-32.17.0-42.17.1-0
Show 8 more versionsShow less
2.17.1-12.17.2-02.17.2-12.17.2-22.17.2-32.17.2-42.17.2-52.17.3-0
2.18.0-0
kyverno-policy-reporter-ui-dev
Docker Hardened Images:Debian:13
2.6.1-0 and later, plus listed versions
2.7.0-02.7.0-12.7.0-22.7.1-02.7.1-1
Show 20 more versionsShow less
2.7.1-22.7.2-02.7.2-12.7.3-02.8.1-02.8.1-12.8.1-22.8.1-32.8.1-42.8.1-52.9.0-12.9.1-02.9.1-12.9.1-22.9.1-32.9.1-42.9.1-52.9.1-62.9.1-72.9.1-8
None listed
kyverno-policy-reporter-ui-fips-dev
Docker Hardened Images:Debian:13
2.6.1-0 and later, plus listed versions
2.7.0-02.7.0-12.7.0-22.7.1-02.7.1-1
Show 20 more versionsShow less
2.7.1-22.7.2-02.7.2-12.7.3-02.8.1-02.8.1-12.8.1-22.8.1-32.8.1-42.8.1-52.9.0-12.9.1-02.9.1-12.9.1-22.9.1-32.9.1-42.9.1-52.9.1-62.9.1-72.9.1-8
None listed
kyverno-policy-reporter-ui-fips
Docker Hardened Images:Debian:13
2.6.1-0 and later, plus listed versions
2.7.0-02.7.0-12.7.0-22.7.1-02.7.1-1
Show 20 more versionsShow less
2.7.1-22.7.2-02.7.2-12.7.3-02.8.1-02.8.1-12.8.1-22.8.1-32.8.1-42.8.1-52.9.0-12.9.1-02.9.1-12.9.1-22.9.1-32.9.1-42.9.1-52.9.1-62.9.1-72.9.1-8
None listed
kyverno-policy-reporter-ui
Docker Hardened Images:Debian:13
2.6.1-0 and later, plus listed versions
2.7.0-02.7.0-12.7.0-22.7.1-02.7.1-1
Show 20 more versionsShow less
2.7.1-22.7.2-02.7.2-12.7.3-02.8.1-02.8.1-12.8.1-22.8.1-32.8.1-42.8.1-52.9.0-12.9.1-02.9.1-12.9.1-22.9.1-32.9.1-42.9.1-52.9.1-62.9.1-72.9.1-8
None listed
logto-1
Docker Hardened Images:Debian:13
1.45.0-0 and later, plus listed versions
1.45.0-11.45.0-21.45.0-31.45.0-41.46.0-0
Show 8 more versionsShow less
1.46.0-11.46.0-21.46.0-31.46.0-41.46.0-51.46.0-61.46.0-71.46.0-8
None listed
opensearch-dashboards
Docker Hardened Images:Debian:13
3.8.0-0 and later, plus listed versions
3.10.0-03.10.0-13.10.0-23.10.0-33.10.0-4
Show 11 more versionsShow less
3.10.0-53.8.0-13.8.0-23.8.0-33.9.0-03.9.0-13.9.0-23.9.0-33.9.0-43.9.0-53.9.0-6
None listed
postman-mcp
Docker Hardened Images:Debian:13
2.9.1-0 and later, plus listed versions
2.11.0-02.11.1-02.11.1-12.11.2-02.11.2-1
Show 12 more versionsShow less
2.11.2-22.11.2-32.11.2-52.12.0-02.12.2-02.12.3-02.13.0-02.13.0-12.14.0-02.15.0-02.15.0-12.15.0-2
None listed
sorry-cypress-director-2
Docker Hardened Images:Debian:13
2.6.0-0 and later, plus listed versions
2.6.0-102.6.0-22.6.0-32.6.0-42.6.0-5
Show 4 more versionsShow less
2.6.0-62.6.0-72.6.0-82.6.0-9
None listed
node-node-forge
Ubuntu:20.04:LTS
All versions, plus listed versions
0.8.5~dfsg-20.9.1~dfsg-1
None listed
node-node-forge
Ubuntu:22.04:LTS
All versions, plus listed versions
0.10.0~dfsg-31.2.1~dfsg-2
None listed

Only in multi-CVE advisories 4

Each of these advisories covers several CVEs at once, so it doesn’t establish that this one affects the package.

Packages named only by advisories that cover several CVEs
PackageAffectedFixed
node-forge
TuxCare:npm
0.7.6-tuxcare.0 up to 0.7.6-tuxcare.1, plus listed versions
From an advisory covering 29 CVEs
0.7.6
0.7.6-tuxcare.1
0.9.0-tuxcare.0 up to 0.9.0-tuxcare.6, plus listed versions
From an advisory covering 10 CVEs
0.9.00.9.0-tuxcare.10.9.0-tuxcare.20.9.0-tuxcare.30.9.0-tuxcare.40.9.0-tuxcare.5
0.9.0-tuxcare.6
0.10.0-tuxcare.0 up to 0.10.0-tuxcare.12, plus listed versions
From an advisory covering 6 CVEs
0.10.00.10.0-tuxcare.10.10.0-tuxcare.100.10.0-tuxcare.110.10.0-tuxcare.2
Show 7 more versionsShow less
0.10.0-tuxcare.30.10.0-tuxcare.40.10.0-tuxcare.50.10.0-tuxcare.60.10.0-tuxcare.70.10.0-tuxcare.80.10.0-tuxcare.9
0.10.0-tuxcare.12
grafana12.4
Red Hat:hummingbird:1
before 0:12.4.15-0.2.hum1
From an advisory covering 19 CVEs
0:12.4.15-0.2.hum1
grafana13.2
Red Hat:hummingbird:1
before 0:13.2.6-0.1.hum1
From an advisory covering 22 CVEs
0:13.2.6-0.1.hum1
grafana13.1
Red Hat:hummingbird:1
before 0:13.1.10-0.3.hum1
From an advisory covering 2 CVEs
0:13.1.10-0.3.hum1

Products 1

Sources

CVE List Score usedCVSS 3.15.9

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.

Record
CVE-2026-125334
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-476
Updated
2026-11-14
EUVDEUVD-2026-122794CVSS 3.15.9

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.

Record
EUVD-2026-122794
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-10
GitHub AdvisoriesGHSA-j8rw-jp99-435vCVSS 3.15.9

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

Summary

A forge.tls client throws an uncaught TypeError from connection.process() when it receives a ServerHello while it has no session: after a close_notify alert or a call to close(), or before handshake() is called. A malicious server or an on-path attacker can use this to terminate a Node.js process. Fixed in node-forge 1.4.3.

Details

tls.handleHandshake() in lib/tls.js updates the handshake digests with c.session.md5.update(bytes) before it calls the message handler. A client creates its session in handshake(), and c.reset() sets it to null when the connection is closed. Closing doesn't set the fail flag, and the client goes back to expecting a ServerHello, so a Handshake record received afterwards still reaches handleHandshake(), which throws TypeError: Cannot read properties of null (reading 'md5').

This happens:

  • after the server sends a close_notify alert (at any alert level);
  • after the application calls close();
  • before the application calls handshake().

The exception propagates out of connection.process(). Applications that pass socket data to process() from a data event handler without catching exceptions, as in the README example, terminate. After a reset the connection uses no encryption, so an on-path attacker can inject the records even when the real server is honest.

Servers are not affected: a server creates its session when it receives a ClientHello.

The fix handles these records like other unexpected records on a closed client: they are ignored.

Patches

Fixed in node-forge 1.4.3.

Workarounds

Catch exceptions thrown by connection.process() and close the socket, or stop passing socket data to process() once the closed callback has been called and until handshake() is called again.

Resources

Severity

CVSS 3.1: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H (5.9, Moderate) CVSS 4.0 (informational): CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N (8.2) CVSS 4.0 has no counterpart to 3.1's AC:H beyond AT:P and scores this higher; the severity rating follows CVSS 3.1.

Credits

Reported by @manus-use.

Proof of concept

var c = forge.tls.createConnection({server: false, ...});
c.handshake();
// warning close_notify alert, then an empty ServerHello, in separate
// process() calls
c.process(forge.util.hexToBytes('15030100020100'));
c.process(forge.util.hexToBytes('160301000402000000'));
// <= 1.4.2: TypeError: Cannot read properties of null (reading 'md5')
// 1.4.3: the record is ignored

The reporter's PoC is in tests/pocs/ghsa-j8rw-jp99-435v.js, and regression tests are in tests/unit/tls.js.

Impact

Applications that use forge.tls as a client and pass data from a network socket to connection.process() are affected. The server they connect to, or an on-path attacker, can make process() throw; if the application doesn't catch it, the Node.js process terminates, dropping all its connections. Servers built on forge.tls are not affected. There is no confidentiality or integrity impact.

Record
GHSA-j8rw-jp99-435v
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-476
Updated
2026-11-10
NVDCVSS 3.15.9

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.

Record
CVE-2026-125334
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-476
Updated
2026-11-16
OSVCVSS 3.15.9

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.

Record
CVE-2026-125334
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-476
Updated
2026-11-12
OSVDHI-zjiv-r7ur-lrb3-oszfCVSS 3.15.9

Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.3, a…

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.

Record
DHI-zjiv-r7ur-lrb3-oszf
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-12-05
Show 9 more recordsShow less
OSVGHSA-j8rw-jp99-435vCVSS 3.15.9

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

Summary

A forge.tls client throws an uncaught TypeError from connection.process() when it receives a ServerHello while it has no session: after a close_notify alert or a call to close(), or before handshake() is called. A malicious server or an on-path attacker can use this to terminate a Node.js process. Fixed in node-forge 1.4.3.

Details

tls.handleHandshake() in lib/tls.js updates the handshake digests with c.session.md5.update(bytes) before it calls the message handler. A client creates its session in handshake(), and c.reset() sets it to null when the connection is closed. Closing doesn't set the fail flag, and the client goes back to expecting a ServerHello, so a Handshake record received afterwards still reaches handleHandshake(), which throws TypeError: Cannot read properties of null (reading 'md5').

This happens:

  • after the server sends a close_notify alert (at any alert level);
  • after the application calls close();
  • before the application calls handshake().

The exception propagates out of connection.process(). Applications that pass socket data to process() from a data event handler without catching exceptions, as in the README example, terminate. After a reset the connection uses no encryption, so an on-path attacker can inject the records even when the real server is honest.

Servers are not affected: a server creates its session when it receives a ClientHello.

The fix handles these records like other unexpected records on a closed client: they are ignored.

Patches

Fixed in node-forge 1.4.3.

Workarounds

Catch exceptions thrown by connection.process() and close the socket, or stop passing socket data to process() once the closed callback has been called and until handshake() is called again.

Resources

Severity

CVSS 3.1: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H (5.9, Moderate) CVSS 4.0 (informational): CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N (8.2) CVSS 4.0 has no counterpart to 3.1's AC:H beyond AT:P and scores this higher; the severity rating follows CVSS 3.1.

Credits

Reported by @manus-use.

Proof of concept

var c = forge.tls.createConnection({server: false, ...});
c.handshake();
// warning close_notify alert, then an empty ServerHello, in separate
// process() calls
c.process(forge.util.hexToBytes('15030100020100'));
c.process(forge.util.hexToBytes('160301000402000000'));
// <= 1.4.2: TypeError: Cannot read properties of null (reading 'md5')
// 1.4.3: the record is ignored

The reporter's PoC is in tests/pocs/ghsa-j8rw-jp99-435v.js, and regression tests are in tests/unit/tls.js.

Impact

Applications that use forge.tls as a client and pass data from a network socket to connection.process() are affected. The server they connect to, or an on-path attacker, can make process() throw; if the application doesn't catch it, the Node.js process terminates, dropping all its connections. Servers built on forge.tls are not affected. There is no confidentiality or integrity impact.

Record
GHSA-j8rw-jp99-435v
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-476
Updated
2026-11-10
OSVRHSA-2026:102275CVSS 3.17.4

Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update

Record
RHSA-2026:102275
CVSS 3.1
7.4 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Updated
2026-11-26
OSVRHSA-2026:102287CVSS 3.17.4

Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

Record
RHSA-2026:102287
CVSS 3.1
7.4 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Updated
2026-12-05
OSVRHSA-2026:103793CVSS 3.17.4

Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update

Record
RHSA-2026:103793
CVSS 3.1
7.4 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Updated
2026-11-27
OSVUBUNTU-CVE-2026-125334CVSS 3.15.9

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.

Record
UBUNTU-CVE-2026-125334
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-19
OSVAZL-113603No score

CVE-2026-125334 affecting package python-tensorboard 2.16.2-6

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.

Record
AZL-113603
Updated
2026-11-13
OSVCLSA-2026-1795258391No score

TuxCare security update for node-forge (29 CVEs)

TuxCare rebuilt node-forge to address 29 CVEs. Fixed in 0.7.6-tuxcare.1.

Record
CLSA-2026-1795258391
Updated
2026-12-05
OSVCLSA-2026-1795514830No score

TuxCare security update for node-forge (10 CVEs)

TuxCare rebuilt node-forge to address 10 CVEs. Fixed in 0.9.0-tuxcare.6.

Record
CLSA-2026-1795514830
Updated
2026-12-05
OSVCLSA-2026-1795795991No score

TuxCare security update for node-forge (6 CVEs)

TuxCare rebuilt node-forge to address 6 CVEs. Fixed in 0.10.0-tuxcare.12.

Record
CLSA-2026-1795795991
Updated
2026-11-27

History

Recorded by Every CVE

Changes recorded by Every CVE
DayChangedSources
Affected packagesOSV
ReferencesOSV
Affected packagesOSV
Affected packagesOSV
Affected packages, referencesOSV
Affected packagesOSV
Affected packagesOSV
ReferencesOSV
Affected packagesOSV
Affected packagesOSV
ReferencesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packages, other IDsOSV
Affected packages, other IDs, referencesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packages, referencesOSV
Affected packagesOSV
Affected packages, other IDsOSV
Affected packagesOSV
Affected packages, other IDs, referencesOSV
Affected packagesOSV
Show 9 more daysShow less
Changes recorded by Every CVE
DayChangedSources
Affected packagesOSV
Affected packages, other IDsOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packages, other IDs, referencesOSV
ReferencesNVD
ReferencesCVE List, OSV
Affected packages, other IDs, referencesOSV
Affected packages, other IDs, referencesOSV
ReferencesOSV
Published dateEUVD
Published dateEUVD, NVD
Affected packages, referencesOSV
Affected packages, other IDs, key facts, referencesGitHub Advisories
Other IDs, published dateEUVD
First indexedCVE List

Upstream dates may differ.

References

Show 182 more referencesShow less
MoveEnter Open