CVE-2026-118779: Forge: Regular expression denial of service in PEM decoding (pem.decode)
Vulnerability summary
CVE-2026-118779 is a high (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in digitalbazaar forge. EPSS estimates a 0.70% chance of exploitation in the next 30 days, higher than 54.5% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Timeline
- 29-10-2026PublishedVulnerability first disclosed.
- 29-10-2026Last modifiedVulnerability information updated.
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 metrics
6 scores · 6 sources · 1 version- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · NpmEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.70%
Chance of exploitation in the next 30 days
Percentile
55%
Versus all other CVEs
30-day change
Increase +0.14 pp
From 0.56% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundForge
Maturity: poc
Weaknesses
CWE · root cause- CWE-400Uncontrolled Resource ConsumptionThe product does not properly control the allocation and maintenance of a limited resource.
- CWE-1333Inefficient Regular Expression ComplexityThe product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard20 products
- arangodb-3.11All versions (No fix recorded) | < 3.11.14.6-r4
- arangodb-3.12All versions (No fix recorded) | < 3.12.13-r1
- dotstatsuite-supercoreAll versions (No fix recorded) | < 3.1.0_git20261022-r4
- gitlab-rails-ce-18.10All versions (No fix recorded) | < 18.10.8-r12
- gitlab-rails-ce-18.8All versions (No fix recorded)
Wolfi2 products
- jitsucom-jitsu-consoleAll versions (No fix recorded) | < 2.11.0-r42
- kubeflow-centraldashboardAll versions (No fix recorded) | < 2.0.0-r8
Digitalbazaar1 product
- forge< 1.4.1
Npm1 product
- node-forge< 1.4.1
Ubuntu1 product
- node-node-forgeAll versions (No fix recorded)
5 vendors · 25 products
References
8 links- github.com/digitalbazaar/forge/security/advisories/GHSA-7wch-p9px-956xX Refsource CONFIRMWEBREPORTAdvisoryExploitMitigationVendor Advisory
- github.com/digitalbazaar/forge/commit/412345db583cd28a9d23636d0d93e9f751b935f3X Refsource MISCWEBREPORTFIXPatch