High severity · published Oct 29, 2026
CVE-2026-118779
Forge: Regular expression denial of service in PEM decoding (pem.decode)
New
7.5
CVSS
–
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FO
forge · digitalbazaar
< 1.4.1 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-118779
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-118779
github.com
https://github.com/digitalbazaar/forge/commit/412345db583cd28a9d23636d0d93e9f751b935f3
github.com
https://github.com/digitalbazaar/forge/releases/tag/v1.4.1
github.com
https://github.com/digitalbazaar/forge/security/advisories/GHSA-7wch-p9px-956x
More from forge
9.1
CVE-2026-33896
Forge has a basicConstraints bypass in its certificate chain verification (RFC 5280 violation)
8.6
CVE-2025-12816
No description published yet
7.5
CVE-2026-119191
Forge: ASN.1 resource exhaustion via BIT STRING decoding in asn1.fromDer
7.5
CVE-2026-119188
Forge: Denial of service in TLS record processing via a record interleaved with a fragmented handshake message
7.5
CVE-2026-119187
Forge: Denial of service in TLS record processing via call stack exhaustion
