NULL pointer dereference in Forge TLS client crashes Node.js process
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-476.
Summary
Forge (node-forge) before 1.4.3 has a TLS client flaw where forge.tls accepts a handshake record while the connection has no session, such as after close_notify, after close(), or before handshake(). The handler dereferences a null session value, causing a NULL pointer dereference (CWE-476). A malicious server or on-path attacker can send such a record and crash a Node.js process that does not catch the resulting exception. forge.tls servers are not affected, there is no confidentiality or integrity impact, and a public exploit is linked in the references.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| digitalbazaar | forge | before 1.4.3 | 1.4.3 | Patch available | CNA |
| — | node-forge (npm) | before 1.4.3 | 1.4.3 | Patch available | GHSA-j8rw-jp99-435v |
- forge Vendordigitalbazaar Affected before 1.4.3 Fixed in 1.4.3 Patch available CNA
- node-forge (npm) Vendor— Affected before 1.4.3 Fixed in 1.4.3 Patch available GHSA-j8rw-jp99-435v
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:digitalbazaar:forge:*:*:*:*:*:node.js:*:* | before 1.4.3 | Vulnerable | digitalbazaar |
- cpe:2.3:a:digitalbazaar:forge:*:*:*:*:*:node.js:*:* Versions before 1.4.3 Vulnerable ·digitalbazaar
Remediation
Upgrade forge (node-forge) to version 1.4.3, which fixes the issue. The sources list no fixed version for other releases.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
- Fix · CNA forge (digitalbazaar) Fixed in 1.4.3
- Fix · GHSA-j8rw-jp99-435v node-forge (npm) Fixed in 1.4.3 Advisory →
Timeline
- 2026-11-10 Threatist record created from CVE-2026-125334
- 2026-11-10 Alias added: GHSA-j8rw-jp99-435v
- 2026-11-10 Fix available: npm/[email protected] · GHSA-j8rw-jp99-435v
- 2026-11-10 CVSS score added · GHSA-j8rw-jp99-435v
- 2026-11-10 Weakness changed · GHSA-j8rw-jp99-435v
- 2026-11-10 5 new references · GHSA-j8rw-jp99-435v
- 2026-11-12 Priority changed: MEDIUM → LOW
- 2026-11-14 CISA SSVC decision points changed
References
Patch 2
More digitalbazaar Forge vulnerabilities
- TI-2026-26254 Forge has a basicConstraints bypass in its certificate chain verification (RFC 5280 violation) CVSS 3.1CRITICAL 9.1
- TI-2026-82739 Resource exhaustion in Forge ASN.1 parsing via nested BIT STRINGs CVSS 3.1HIGH 7.5
- TI-2026-82735 Recursive TLS record processing in Forge enables denial of service CVSS 3.1HIGH 7.5
- TI-2026-82733 Forge PKCS#12 input can bypass password integrity checks CVSS 3.1HIGH 7.5
- TI-2026-82730 Regular expression denial of service in Forge PEM decoding CVSS 3.1HIGH 7.5
- TI-2026-26253 Forge has signature forgery in Ed25519 due to missing S > L check CVSS 3.1HIGH 7.5
Sources
- CVE-2026-125334 · CVE Program
- CVE-2026-125334 · NVD
- FIRST EPSS
- GHSA-j8rw-jp99-435v · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences