// Security Advisory Triage
node-forge 1.4.0 and earlier: ReDoS in PEM decoding
GitHub advisories — npm · published 2026-11-01 06:06 UTC
WHAT CHANGEDGitHub published GHSA-7wch-p9px-956x on 30 October 2026, rating a regular expression denial of service in node-forge's pem.decode function as high severity. CVE-2026-118779. Patched in 1.4.1.
WHY IT MATTERSAn attacker can hang the process by submitting a crafted PEM input, blocking all other requests until the regex times out or the process is killed. Any service that decodes user-supplied certificates, keys, or PEM-encoded data is exposed.
WHAT TO DOUpdate node-forge to 1.4.1 or later. If you cannot update immediately, validate PEM input length and structure before passing it to pem.decode.
Model-reported confidence 85% (not measured accuracy)
Primary source ↗
written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+ghsa_id: GHSA-7wch-p9px-956x +summary: Forge: Regular expression denial of service in PEM decoding (pem.decode) +severity: high +published_at: 2026-10-30T23:02:25Z +cve_id: CVE-2026-118779 +vulnerabilities[].package.name: node-forge +vulnerabilities[].first_patched_version: 1.4.1
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
| triage verdict | MATERIAL at 0.92, needed 0.5 |
|---|---|
| triage reasoning | ReDoS in cryptographic PEM decoder affects services running node-forge; patch available. |
| signals | npm package in typical dependency tree · cryptographic library (PEM decoding) · high severity rating · new advisory with CVE and patched version · node-forge widely used in Node.js services |
| suppression | — |
| triage model | anthropic/claude-haiku-4.5 ($0.00000) |
| writer model | anthropic/claude-sonnet-4.5 ($0.00000) |