- Home
- Vulnerabilities
- CVE-2026-119191
CVE-2026-119191
Forge: ASN.1 resource exhaustion via BIT STRING decoding in asn1.fromDer
Summary
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, the affected implementation used asn1.fromDer(), BIT STRING decoding, maxDepth to process the relevant input or security decision. node-forge decoded ASN.1 stored inside BIT STRING values without consistently applying the configured maxDepth limit and recursively retained copies at each nesting level. Crafted DER containing nested BIT STRINGs could cause excessive recursion, CPU use, and quadratic memory consumption during asn1.fromDer(). This issue is fixed in version 1.4.1.
Affected products and versions
Digitalbazaar (2 line(s))
npm (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| node-forge | before 1.4.1 (excluded) |
1.4.1 |
GitHub Advisory |
Fix
Upgrade — npm/node-forge 1.4.1official source
Source : GitHub Advisory
Workaround
No workaround provided.
Check whether you are affected
Exploit reported by sources
These links are tagged “exploit” by the NVD or CVE.org. We have neither verified nor copied them; open with care.
Timeline
- — CVE published (cve)
CERT-FR advisories
- GHSA-rhr8-3pm8-cq29 — Forge: ASN.1 resource exhaustion via BIT STRING decoding in asn1.fromDer 10 Nov 2026
References
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-rhr8-3pm8-cq29exploit
- https://github.com/digitalbazaar/forge/commit/24035c181f41885ea3ec7279e6c0fcf270b6ec4bx_refsource_MISC
- https://github.com/digitalbazaar/forge/commit/523c8e74c28457daeff044230dce4a36313c5ab7x_refsource_MISC
- https://github.com/digitalbazaar/forge/releases/tag/v1.4.1x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-119191ADVISORY
- https://github.com/digitalbazaar/forgePACKAGE
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- CNA (vendor or assigner)
- Weakness (CWE)
- NVD
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H(CVSS 3.1, CNA:GitHub_M)- Weakness
- CWE-400 · Autre (CWE-400)