NULL pointer dereference in node-forge - CVE-2026-118778

 

NULL pointer dereference in node-forge - CVE-2026-118778

Published: November 6, 2026


Vulnerability identifier: #VU159783
CSH Severity: Medium
CVSS v4: 8.2 [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]
CVE-ID: CVE-2026-118778
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows an unauthenticated remote attacker to crash applications using the node-forge TLS client, causing denial of service.

The vulnerability exists due to an ineffective missing-certificate check in the TLS client, which dereferences a null certificate when a handshake proceeds without a server certificate. An unauthenticated remote attacker can operate a server the client connects to or modify an on-path handshake to omit the certificate, triggering an exception that terminates the application if uncaught.


Affected software

node-forge

How to mitigate CVE-2026-118778

Install security update from vendor's website.

node-forge - update to 1.4.1

External References

Related Security Bulletins