CVE-2026-118779

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.
Configurations

No configuration.

History

29 Oct 2026, 21:17

Type Values Removed Values Added
References () https://github.com/digitalbazaar/forge/security/advisories/GHSA-7wch-p9px-956x - () https://github.com/digitalbazaar/forge/security/advisories/GHSA-7wch-p9px-956x -

29 Oct 2026, 19:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-10-29 19:17

Updated : 2026-10-30 17:18


NVD link : CVE-2026-118779

Mitre link : CVE-2026-118779

CVE.ORG link : CVE-2026-118779


JSON object : View

Products Affected

No product.

CWE
CWE-400

Uncontrolled Resource Consumption

CWE-1333

Inefficient Regular Expression Complexity