Forge: ASN.1 OID first arc truncation in asn1.oidToDer
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| digitalbazaarforge | — | Not listed |
| npmnode-forge |
< 1.4.1→ 1.4.1 |
1.4.1 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Ubuntu UBUNTU-CVE-2026-118775 node-node-forge No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- exploit github.com
- package github.com
- patch security-advisories@github.com
- web security-advisories@github.com
- web github.com