CVE-2026-125334
Forge: TLS client crash on a handshake record received without a session
- Severity
- 5.9MediumNetwork attack, no privileges, no user interactionCVSS 3.1, CVE List
- Exploitation
- UnknownNo source reports exploitation yet.
- Exploit chance
- 0.34% in 30 daysPercentile28thEPSS, scored
- Listed fix
1.4.3for 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:HExploit chance over time
Affected
Packages 29
| Package | Affected | Fixed |
|---|---|---|
node-forgenpm | through 1.4.2 | 1.4.3 |
| before 1.4.3 | 1.4.3 | |
python-tensorboardAzure Linux:3 | through 2.16.2-6 | None listed |
kyverno-policy-reporter-ui-devDocker 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 less2.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-devDocker 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 less2.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-devDocker 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 less2.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-devDocker 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 less2.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-fipsDocker 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 less2.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-fipsDocker 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 less2.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-uiDocker 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 less2.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
| Package | Affected | Fixed |
|---|---|---|
kyverno-policy-reporter-uiDocker 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 less2.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-1Docker 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 less1.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-1Docker 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 less1.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-mcpDocker 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-mcpDocker 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 less2.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-2Docker 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 less2.6.0-r62.6.0-r72.6.0-r82.6.0-r9 | None listed |
sorry-cypress-director-2Docker 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 less2.6.0-r62.6.0-r72.6.0-r82.6.0-r9 | None listed |
kibana-9.4Docker 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 less9.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.5Docker 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 less9.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-frontendDocker 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 less2.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-devDocker 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 less2.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-devDocker 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 less2.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-fipsDocker 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 less2.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-uiDocker 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 less2.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-1Docker 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 less1.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-dashboardsDocker 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 less3.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-mcpDocker 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 less2.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-2Docker 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 less2.6.0-62.6.0-72.6.0-82.6.0-9 | None listed |
node-node-forgeUbuntu:20.04:LTS | All versions, plus listed versions 0.8.5~dfsg-20.9.1~dfsg-1 | None listed |
node-node-forgeUbuntu: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.
| Package | Affected | Fixed |
|---|---|---|
node-forgeTuxCare: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 less0.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.4Red 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.2Red 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.1Red 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 Medium
CVSS: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 Medium
CVSS: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_notifyalert (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
- RFC 5246, section 7.2.1 (Closure Alerts): https://www.rfc-editor.org/rfc/rfc5246#section-7.2.1
- Related: GHSA-525v-9gp9-w22h (another TLS client
TypeError, fixed in 1.4.1): https://github.com/digitalbazaar/forge/security/advisories/GHSA-525v-9gp9-w22h
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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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_notifyalert (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
- RFC 5246, section 7.2.1 (Closure Alerts): https://www.rfc-editor.org/rfc/rfc5246#section-7.2.1
- Related: GHSA-525v-9gp9-w22h (another TLS client
TypeError, fixed in 1.4.1): https://github.com/digitalbazaar/forge/security/advisories/GHSA-525v-9gp9-w22h
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 Medium
CVSS: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 High
CVSS: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 High
CVSS: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 High
CVSS: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 Medium
CVSS: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
| Day | Changed | Sources |
|---|---|---|
| Affected packages | OSV | |
| References | OSV | |
| Affected packages | OSV | |
| Affected packages | OSV | |
| Affected packages, references | OSV | |
| Affected packages | OSV | |
| Affected packages | OSV | |
| References | OSV | |
| Affected packages | OSV | |
| Affected packages | OSV | |
| References | OSV | |
| Affected packages | OSV | |
| Affected packages | OSV | |
| Affected packages | OSV | |
| Affected packages, other IDs | OSV | |
| Affected packages, other IDs, references | OSV | |
| Affected packages | OSV | |
| Affected packages | OSV | |
| Affected packages | OSV | |
| Affected packages, references | OSV | |
| Affected packages | OSV | |
| Affected packages, other IDs | OSV | |
| Affected packages | OSV | |
| Affected packages, other IDs, references | OSV | |
| Affected packages | OSV |
Show 9 more daysShow less
| Day | Changed | Sources |
|---|---|---|
| Affected packages | OSV | |
| Affected packages, other IDs | OSV | |
| Affected packages | OSV | |
| Affected packages | OSV | |
| Affected packages | OSV | |
| Affected packages | OSV | |
| Affected packages | OSV | |
| Affected packages | OSV | |
| Affected packages, other IDs, references | OSV | |
| References | NVD | |
| References | CVE List, OSV | |
| Affected packages, other IDs, references | OSV | |
| Affected packages, other IDs, references | OSV | |
| References | OSV | |
| Published date | EUVD | |
| Published date | EUVD, NVD | |
| Affected packages, references | OSV | |
| Affected packages, other IDs, key facts, references | GitHub Advisories | |
| Other IDs, published date | EUVD | |
| First indexed | CVE List |
Upstream dates may differ.
References
github.com/digitalbazaar/forge/security/advisories/GHSA-j8rw-jp99-435v
github.com/digitalbazaar/forge/pull/1169
github.com/digitalbazaar/forge/commit/2cfaeb516cb3d4aff1c0569d39394df41c5cb17c
github.com/digitalbazaar/forge/releases/tag/v1.4.3
github.com/advisories/GHSA-j8rw-jp99-435v
nvd.nist.gov/vuln/detail/CVE-2026-125334
github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125334.json
scout.docker.com/v/DHI-zjiv-r7ur-lrb3-oszf
Show 182 more referencesShow less
ubuntu.com/security/CVE-2026-125334
people.ubuntu.com/~ubuntu-security/cve/CVE-2026-125334
github.com/digitalbazaar/forge
access.redhat.com/errata/RHSA-2026:102275
access.redhat.com/security/cve/CVE-2026-102589
access.redhat.com/security/cve/CVE-2026-106475
access.redhat.com/security/cve/CVE-2026-107365
access.redhat.com/security/cve/CVE-2026-111000
access.redhat.com/security/cve/CVE-2026-116630
access.redhat.com/security/cve/CVE-2026-120222
access.redhat.com/security/cve/CVE-2026-120415
access.redhat.com/security/cve/CVE-2026-120423
access.redhat.com/security/cve/CVE-2026-120474
access.redhat.com/security/cve/CVE-2026-125334
access.redhat.com/security/cve/CVE-2026-125336
access.redhat.com/security/cve/CVE-2026-126355
access.redhat.com/security/cve/CVE-2026-126356
access.redhat.com/security/cve/CVE-2026-126357
access.redhat.com/security/cve/CVE-2026-126358
access.redhat.com/security/cve/CVE-2026-126359
access.redhat.com/security/cve/CVE-2026-127056
access.redhat.com/security/cve/CVE-2026-81843
access.redhat.com/security/cve/CVE-2026-82014
access.redhat.com/security/updates/classification
images.redhat.com
access.redhat.com/security/cve/CVE-2026-106472
security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_102275.json
bugzilla.redhat.com/show_bug.cgi?id=2565138
cve.org/CVERecord?id=CVE-2026-81843
nvd.nist.gov/vuln/detail/CVE-2026-81843
bugzilla.redhat.com/show_bug.cgi?id=2565134
cve.org/CVERecord?id=CVE-2026-82014
nvd.nist.gov/vuln/detail/CVE-2026-82014
bugzilla.redhat.com/show_bug.cgi?id=2565151
cve.org/CVERecord?id=CVE-2026-102589
nvd.nist.gov/vuln/detail/CVE-2026-102589
bugzilla.redhat.com/show_bug.cgi?id=2565152
cve.org/CVERecord?id=CVE-2026-106472
nvd.nist.gov/vuln/detail/CVE-2026-106472
bugzilla.redhat.com/show_bug.cgi?id=2565159
cve.org/CVERecord?id=CVE-2026-106475
nvd.nist.gov/vuln/detail/CVE-2026-106475
bugzilla.redhat.com/show_bug.cgi?id=2565163
cve.org/CVERecord?id=CVE-2026-107365
nvd.nist.gov/vuln/detail/CVE-2026-107365
bugzilla.redhat.com/show_bug.cgi?id=2565239
cve.org/CVERecord?id=CVE-2026-111000
nvd.nist.gov/vuln/detail/CVE-2026-111000
bugzilla.redhat.com/show_bug.cgi?id=2568153
cve.org/CVERecord?id=CVE-2026-116630
nvd.nist.gov/vuln/detail/CVE-2026-116630
cna.openjsf.org/security-advisories.html
github.com/nodejs/undici/security/advisories/GHSA-5rm8-gv32-r954
bugzilla.redhat.com/show_bug.cgi?id=2568197
cve.org/CVERecord?id=CVE-2026-120222
nvd.nist.gov/vuln/detail/CVE-2026-120222
github.com/nodejs/undici/security/advisories/GHSA-3g9m-rv3r-w5w2
bugzilla.redhat.com/show_bug.cgi?id=2568147
cve.org/CVERecord?id=CVE-2026-120415
nvd.nist.gov/vuln/detail/CVE-2026-120415
github.com/nodejs/undici/security/advisories/GHSA-9v6h-8rgp-m69f
bugzilla.redhat.com/show_bug.cgi?id=2568134
cve.org/CVERecord?id=CVE-2026-120423
nvd.nist.gov/vuln/detail/CVE-2026-120423
github.com/nodejs/undici/security/advisories/GHSA-r4pc-4jcp-7pqc
bugzilla.redhat.com/show_bug.cgi?id=2568183
cve.org/CVERecord?id=CVE-2026-120474
nvd.nist.gov/vuln/detail/CVE-2026-120474
github.com/nodejs/undici/security/advisories/GHSA-7xg3-fphp-28hg
bugzilla.redhat.com/show_bug.cgi?id=2570013
cve.org/CVERecord?id=CVE-2026-125334
bugzilla.redhat.com/show_bug.cgi?id=2570463
cve.org/CVERecord?id=CVE-2026-125336
nvd.nist.gov/vuln/detail/CVE-2026-125336
github.com/digitalbazaar/forge/commit/6b23eae8beac316b6867bdb0e7ad7c2c959a97f6
github.com/digitalbazaar/forge/commit/862aa5f630bdf40b0dfda408d6ac357bf35a7d6b
github.com/digitalbazaar/forge/security/advisories/GHSA-3cc4-3294-vgjf
bugzilla.redhat.com/show_bug.cgi?id=2572855
cve.org/CVERecord?id=CVE-2026-126355
nvd.nist.gov/vuln/detail/CVE-2026-126355
github.com/honojs/hono/commit/bf16471913b5199212dac33f5d170f94745dd26a
github.com/honojs/hono/releases/tag/v4.13.16
github.com/honojs/hono/security/advisories/GHSA-46wx-v44x-9hh2
bugzilla.redhat.com/show_bug.cgi?id=2572853
cve.org/CVERecord?id=CVE-2026-126356
nvd.nist.gov/vuln/detail/CVE-2026-126356
github.com/honojs/hono/commit/d88fab372415277a9e540e895650943dd08eef4a
github.com/honojs/hono/security/advisories/GHSA-4h7h-rv7c-7m2v
bugzilla.redhat.com/show_bug.cgi?id=2572859
cve.org/CVERecord?id=CVE-2026-126357
nvd.nist.gov/vuln/detail/CVE-2026-126357
github.com/honojs/hono/commit/34f90432a1794b28e52802670efcd01963f716d6
github.com/honojs/hono/security/advisories/GHSA-4m76-xfj5-7975
bugzilla.redhat.com/show_bug.cgi?id=2572863
cve.org/CVERecord?id=CVE-2026-126358
nvd.nist.gov/vuln/detail/CVE-2026-126358
github.com/honojs/hono/commit/8a103aa59bcfbffd5396b1548a0dff3688777c36
github.com/honojs/hono/security/advisories/GHSA-h7mg-cq63-vhpq
bugzilla.redhat.com/show_bug.cgi?id=2572861
cve.org/CVERecord?id=CVE-2026-126359
nvd.nist.gov/vuln/detail/CVE-2026-126359
github.com/honojs/hono/commit/15bbd96ad1b62a0b189db4fd8dc7bf8ef280c513
github.com/honojs/hono/security/advisories/GHSA-3gg2-335m-rxc6
access.redhat.com/errata/RHSA-2026:102287
access.redhat.com/security/cve/CVE-2026-133185
access.redhat.com/security/cve/CVE-2026-76844
access.redhat.com/security/cve/CVE-2026-111024
access.redhat.com/security/cve/CVE-2026-107509
access.redhat.com/security/cve/CVE-2026-13721
access.redhat.com/security/cve/CVE-2026-110992
access.redhat.com/security/cve/CVE-2026-14242
access.redhat.com/security/cve/CVE-2026-116802
access.redhat.com/security/cve/CVE-2026-140007
access.redhat.com/security/cve/CVE-2026-141514
access.redhat.com/security/cve/CVE-2026-137483
access.redhat.com/security/cve/CVE-2026-137485
access.redhat.com/security/cve/CVE-2026-137484
access.redhat.com/security/cve/CVE-2026-137486
security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_102287.json
bugzilla.redhat.com/show_bug.cgi?id=2565132
cve.org/CVERecord?id=CVE-2026-13721
nvd.nist.gov/vuln/detail/CVE-2026-13721
bugzilla.redhat.com/show_bug.cgi?id=2565133
cve.org/CVERecord?id=CVE-2026-14242
nvd.nist.gov/vuln/detail/CVE-2026-14242
bugzilla.redhat.com/show_bug.cgi?id=2521896
cve.org/CVERecord?id=CVE-2026-76844
nvd.nist.gov/vuln/detail/CVE-2026-76844
github.com/advisories/GHSA-wr3j-pwj9-hqq6
github.com/webpack/webpack-dev-middleware
github.com/webpack/webpack-dev-middleware/blob/v8.1.1/src/middleware.js
vulncheck.com/advisories/webpack-dev-middleware-path-traversal-via-offset-slice-on-a-non-slash-terminated-publicpath
bugzilla.redhat.com/show_bug.cgi?id=2565148
cve.org/CVERecord?id=CVE-2026-107509
nvd.nist.gov/vuln/detail/CVE-2026-107509
bugzilla.redhat.com/show_bug.cgi?id=2565143
cve.org/CVERecord?id=CVE-2026-110992
nvd.nist.gov/vuln/detail/CVE-2026-110992
bugzilla.redhat.com/show_bug.cgi?id=2565248
cve.org/CVERecord?id=CVE-2026-111024
nvd.nist.gov/vuln/detail/CVE-2026-111024
bugzilla.redhat.com/show_bug.cgi?id=2561481
cve.org/CVERecord?id=CVE-2026-116802
nvd.nist.gov/vuln/detail/CVE-2026-116802
github.com/cure53/DOMPurify/security/advisories/GHSA-c6gr-qvv4-5v3f
vulncheck.com/advisories/dompurify-before-3.4.17-xss-via-smil-attributename-guard-bypass-in-xhtml-mode
bugzilla.redhat.com/show_bug.cgi?id=2576654
cve.org/CVERecord?id=CVE-2026-133185
nvd.nist.gov/vuln/detail/CVE-2026-133185
github.com/elazarl/goproxy
github.com/elazarl/goproxy/blob/v1.9.3/internal/signer/counterecryptor.go
github.com/elazarl/goproxy/commit/c150a338c02550eedace75f4baad4f73c0605b3c
github.com/elazarl/goproxy/pull/822
github.com/elazarl/goproxy/releases/tag/v1.9.4
vulncheck.com/advisories/elazarl-goproxy-before-1.9.4-predictable-mitm-leaf-certificate-private-keys
bugzilla.redhat.com/show_bug.cgi?id=2585106
cve.org/CVERecord?id=CVE-2026-137483
nvd.nist.gov/vuln/detail/CVE-2026-137483
github.com/honojs/hono/security/advisories/GHSA-74fm-fwc7-3fwp
vulncheck.com/advisories/hono-4.13.11-before-4.13.18-middleware-bypass-via-servestatic-allowpercentinpath
bugzilla.redhat.com/show_bug.cgi?id=2585145
cve.org/CVERecord?id=CVE-2026-137484
nvd.nist.gov/vuln/detail/CVE-2026-137484
github.com/honojs/hono/security/advisories/GHSA-39q9-qp46-w8xg
vulncheck.com/advisories/hono-4.12.16-before-4.13.18-memory-exhaustion-via-bodylimit-middleware
bugzilla.redhat.com/show_bug.cgi?id=2585114
cve.org/CVERecord?id=CVE-2026-137485
nvd.nist.gov/vuln/detail/CVE-2026-137485
github.com/honojs/hono/security/advisories/GHSA-92p4-j3wq-jmqx
vulncheck.com/advisories/hono-4.5.1-before-4.13.18-validation-bypass-via-content-type-formatting
bugzilla.redhat.com/show_bug.cgi?id=2585066
cve.org/CVERecord?id=CVE-2026-137486
nvd.nist.gov/vuln/detail/CVE-2026-137486
github.com/honojs/hono/security/advisories/GHSA-h25j-2p75-qj33
vulncheck.com/advisories/hono-4.13.16-before-4.13.18-middleware-bypass-via-mount-path-forwarding
bugzilla.redhat.com/show_bug.cgi?id=2588249
cve.org/CVERecord?id=CVE-2026-141514
nvd.nist.gov/vuln/detail/CVE-2026-141514
github.com/isaacs/minimatch/commit/1c1198638b1df8fa0d688b55380bbfbe59fee908
github.com/isaacs/minimatch/security/advisories/GHSA-3924-r96c-gp9w
access.redhat.com/errata/RHSA-2026:103793
security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_103793.json