Patch Forecast
Yellow warning
Plan into this sprint.

CVE-2026-118778 · GHSA-525v-9gp9-w22h

Forge: TLS client crash when the server sends no certificate

Risk score
45/100
CVSS
5.9 v3.1
Published
29 Oct 2026

Open in the live forecast Today's forecast

What to know

What it is
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, the affected implementation used forge.tls.createConnection(), c.session.serverCertificate, RSA key exchange to process the relevant input or security decision. node-forge's TLS client checked the wrong…
Affected
node-forge (npm) <= 1.4.0
Fix
Upgrade node-forge to 1.4.1 or later.
Exploitation
Public proof of concept

Story map

Story map: node-forgeTHE FLAWSTHE FIXCVE-2026-118778Forge: TLS client crash whenthe server sends no certificateCVSS 5.9CVE-2026-118779Forge: Regular expressiondenial of service in PEMdecoding (pem.decode)CVSS 7.5CVE-2026-118782Forge: PKCS#12 MAC forgeryand constant-key PBE via zeroiteration countCVSS 7.5CVE-2026-119187Forge: Denial of service in TLSrecord processing via call stackexhaustionCVSS 7.5Upgrade node-forge1.4.1or later on your release lineWho is exposednode-forge (npm) <= 1.4.0AMBER · PATCH THIS WEEKnode-forgeForge (also called node-forge) isa native implementation ofTransport Layer Security inJavaScript. Prior to 1.4.1, theaffected implementation usedpem.decode(), lib/pem.js, missingEND line to process the…Where it standsPublic proof of conceptCONNECTS TOSame weaknessNull pointer dereference (CWE-476)117 other warnings in 30 days →
Story map: the flaws, the fix, how it unfolded and what it connects to. Boxes link to the record or article.

At a glance

node-forge: Amber, patch this week. Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, the affected implementation used pem.decode(), lib/pem.js, missing END line to process the relevant input or security decision. node-forge used polynomial-time regular expressions in pem.decode(), inclu…

The flaws

  • CVE-2026-118778: Forge: TLS client crash when the server sends no certificate (CVSS 5.9)
  • CVE-2026-118779: Forge: Regular expression denial of service in PEM decoding (pem.decode) (CVSS 7.5)
  • CVE-2026-118782: Forge: PKCS#12 MAC forgery and constant-key PBE via zero iteration count (CVSS 7.5)
  • CVE-2026-119187: Forge: Denial of service in TLS record processing via call stack exhaustion (CVSS 7.5)

The fix

Upgrade node-forge: 1.4.1 or later on your release line

Who is exposed: node-forge (npm) <= 1.4.0

Where it stands

  • Public proof of concept

Connects to

Why it is Yellow

  • CVSS 5.9 medium
  • Public exploit or proof of concept referenced
  • On your watchlist: npm

Affected packages

PackageEcosystemVulnerableFixed in
node-forgenpm<= 1.4.01.4.1

References

Original description

Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, the affected implementation used forge.tls.createConnection(), c.session.serverCertificate, RSA key exchange to process the relevant input or security decision. node-forge's TLS client checked the wrong property when deciding whether a server certificate was missing. A malicious TLS server or on-path peer could omit the Certificate message and reach code that dereferenced the absent certificate, causing an uncaught exception and terminating the connection or process. This issue is fixed in version 1.4.1.

Last activity 30 Oct 2026. Patch Forecast updates every hour.