1. Home
  2. Vulnerabilities
  3. CVE-2026-118775

CVE-2026-118775

Forge: ASN.1 OID first arc truncation in asn1.oidToDer

Published 29 Oct 2026 · modified 4 Nov 2026 · Sources: NVD, CNA (vendor or assigner), CERT-FR, EPSS (FIRST)

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))
Digitalbazaar
ProductVersionsFixed inSource
Forge Versions not specified — CNA (vendor or assigner)
Forge before 1.4.1 (excluded) — NVD
npm (1 line(s))
npm
ProductVersionsFixed inSource
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

  1. — CVE published (cve)

CERT-FR advisories

References

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

How this data is obtained and calculated