Skip to main content
← All vulnerabilities
CVE-2026-118779EUVD-2026-113337

Forge: Regular expression denial of service in PEM decoding (pem.decode)

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.4.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

Forge (node-forge), a JavaScript implementation of Transport Layer Security, is affected when it parses PEM-formatted input. An unauthenticated attacker who can supply a long, malformed PEM message can make the software use excessive CPU, causing a denial of service.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the 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 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.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  4. Record last updated

Affected versions

  • digitalbazaar forge

    fixed in 1.4.1

References 3

GitHub · digitalbazaar/forge