- Home
- Vulnerabilities
- CVE-2026-118775
CVE-2026-118775
Forge: ASN.1 OID first arc truncation in asn1.oidToDer
Low
35/100
Summary
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, asn1.oidToDer() in lib/asn1.js did not range-check the first two arcs of an OID. An application that accepted an untrusted OID string, checked or authorized that string, and then encoded it with asn1.oidToDer() could emit DER representing a different, trusted OID from the one that was checked. DER parsing is not affected. 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-4642-5mcj-2rqw — Forge: ASN.1 OID first arc truncation in asn1.oidToDer 30 Oct 2026
References
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-4642-5mcj-2rqwexploit
- https://github.com/digitalbazaar/forge/commit/e56a3dde8e4e63bae566bb32546eeaf92f515e1ex_refsource_MISC
- https://github.com/digitalbazaar/forge/releases/tag/v1.4.1x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-118775ADVISORY
- https://github.com/digitalbazaar/forgePACKAGE
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- NVD
- Weakness (CWE)
- NVD
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N(CVSS 3.1, NVD)- Weakness
- CWE-190 · Corruption mémoire