Read the docs

NULL pointer dereference in Forge TLS client crashes Node.js process

Priority MEDIUM 60CWE-476Published · Updated

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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00281 20th percentileScored 2026-11-16
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed forge (digitalbazaar): 1.4.3node-forge (npm): 1.4.3

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

VendorProductAffected versionsFixed inStatusSource
digitalbazaarforgebefore 1.4.31.4.3Patch availableCNA
—node-forge (npm)before 1.4.31.4.3Patch availableGHSA-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

CPEVersionsRoleVendor
cpe:2.3:a:digitalbazaar:forge:*:*:*:*:*:node.js:*:*before 1.4.3Vulnerabledigitalbazaar
  • 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

  1. 2026-11-10 Threatist record created from CVE-2026-125334
  2. 2026-11-10 Alias added: GHSA-j8rw-jp99-435v
  3. 2026-11-10 Fix available: npm/[email protected] · GHSA-j8rw-jp99-435v
  4. 2026-11-10 CVSS score added · GHSA-j8rw-jp99-435v
  5. 2026-11-10 Weakness changed · GHSA-j8rw-jp99-435v
  6. 2026-11-10 5 new references · GHSA-j8rw-jp99-435v
  7. 2026-11-12 Priority changed: MEDIUM → LOW
  8. 2026-11-14 CISA SSVC decision points changed

References

  • 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
See all 31 →

Sources