# CVE-2026-118779: Forge: Regular expression denial of service in PEM decoding (pem.decode)

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 1.4.1 (CNA); fix release not confirmed
- Status: published
- Published: 2026-10-29 · Modified: 2026-10-29
- Aliases: GHSA-7wch-p9px-956x, UBUNTU-CVE-2026-118779, CGA-mhww-wfq4-92xg, CGA-mjmx-fffm-rvxh, CGA-3jj4-vvch-84jv, CGA-ph6c-3hp3-xc88, CGA-pw7c-6rpx-7hq5, CGA-g7f8-hvp7-4w4j, CGA-289f-cpmm-qq4q, CGA-3hg5-q5wx-99mf, CGA-4795-89gw-4h7h, CGA-79cj-pcqc-cwvv, CGA-7hr6-qwj2-h6j7, CGA-8vh3-ppxq-w54x, CGA-988w-h7x8-gw7j, CGA-cjf7-ppfj-959x, CGA-fhqh-mf9f-xqwf, CGA-g78f-jcr8-6fxw, CGA-hvqh-x8v8-7j35, CGA-hxgv-7w5r-vrfp, CGA-j8rf-x662-8vh7, CGA-jf8j-xx4m-p57p, CGA-qm7c-cx23-27pq, CGA-wgvq-cv7r-p4q5, CGA-wq3c-jwmr-r679, CGA-2634-jv8h-vjcv, CGA-4442-qjwh-pwmv, CGA-4qc5-x564-frw9, CGA-58ff-v22m-p9jg, CGA-892x-64hh-3xhq, CGA-9w59-jpcm-8jcq, CGA-fjm7-4jmm-6j92, CGA-jx4w-wvpr-94hw, CGA-rfwq-7qq7-8fxf, CGA-wp4r-ch52-g3hv, CGA-xh4c-ffh4-2q63, CGA-887q-pg5v-79wg, CGA-hffp-rpqh-fwfc, CGA-h5hq-69r5-g7rp, CGA-p7x4-mr6c-cm9p, CGA-52wh-629x-jg36
- Record: https://cvemate.com/vulnerability/CVE-2026-118779 · JSON: https://cvemate.com/vulnerability/CVE-2026-118779/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.698%, percentile 54.511%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected (first 20 of 25)

- chainguard arangodb-3.11 (Chainguard): All versions (No fix recorded) \| \< 3.11.14.6-r4
- chainguard arangodb-3.12 (Chainguard): All versions (No fix recorded) \| \< 3.12.13-r1
- chainguard dotstatsuite-supercore (Chainguard): All versions (No fix recorded) \| \< 3.1.0\_git20261022-r4
- chainguard gitlab-rails-ce-18.10 (Chainguard): All versions (No fix recorded) \| \< 18.10.8-r12
- chainguard gitlab-rails-ce-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.9 (Chainguard): All versions (No fix recorded) \| \< 18.9.8-r15
- chainguard gitlab-rails-ce-19.2 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.4 (Chainguard): All versions (No fix recorded) \| \< 19.4.3-r9
- chainguard gitlab-rails-ce-19.5 (Chainguard): All versions (No fix recorded) \| \< 19.5.1-r9
- chainguard gitlab-rails-ce-fips-18.8 (Chainguard): All versions (No fix recorded)
- chainguard jitsucom-jitsu-console (Chainguard): All versions (No fix recorded) \| \< 2.11.0-r42
- chainguard kibana-8.19 (Chainguard): All versions (No fix recorded) \| \< 8.19.23-r8
- chainguard kibana-8.19-bitnami (Chainguard): All versions (No fix recorded) \| \< 8.19.23-r8
- chainguard kibana-9.4 (Chainguard): All versions (No fix recorded) \| \< 9.4.8-r5
- chainguard kibana-9.5 (Chainguard): All versions (No fix recorded) \| \< 9.5.6-r1
- chainguard kubeflow-centraldashboard (Chainguard): All versions (No fix recorded) \| \< 2.0.0-r8
- chainguard wazuh-dashboard (Chainguard): All versions (No fix recorded) \| \< 4.14.9-r8
- chainguard wazuh-dashboard-fips (Chainguard): All versions (No fix recorded) \| \< 4.14.9-r7
- chainguard wazuh-dashboard-security-plugin (Chainguard): All versions (No fix recorded) \| \< 4.14.9-r8
- chainguard wazuh-dashboard-security-plugin-fips (Chainguard): All versions (No fix recorded)

## References

- <https://github.com/digitalbazaar/forge/security/advisories/GHSA-7wch-p9px-956x>
- <https://github.com/digitalbazaar/forge/commit/412345db583cd28a9d23636d0d93e9f751b935f3>
- <https://github.com/digitalbazaar/forge/releases/tag/v1.4.1>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-118779>
- <https://github.com/digitalbazaar/forge>
- <https://ubuntu.com/security/CVE-2026-118779>
- <https://www.cve.org/CVERecord?id=CVE-2026-118779>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118779.json>

---

Data as of 2026-12-05T07:42:31.226Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
