CVE-2026-118779 Forge: Regular expression denial of service in PEM decoding (pem.decode)
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2026-118779?
CVE-2026-118779 is a high-severity vulnerability in digitalbazaar forge, published on 29 Oct 2026.
Official 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 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(), including when searching for a matching END line and parsing encapsulated headers. An unauthenticated attacker able to supply PEM input to any high-level parser could consume excessive CPU with a long malformed message and cause denial of service. This issue is fixed in version 1.4.1.
Which versions are affected by CVE-2026-118779?
How do I fix CVE-2026-118779?
No fix has been published for CVE-2026-118779 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-118779 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-118779 exists.