Skip to main content
← All vulnerabilities
CVE-2026-118775EUVD-2026-113332

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.4.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

Forge (node-forge), a JavaScript implementation of Transport Layer Security and ASN.1 tooling, is affected when applications use its asn1.oidToDer() function on untrusted OID strings. The flaw can cause an application to encode a different, trusted OID than the one it checked, potentially bypassing authorization decisions based on that OID.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original description

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.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  4. Record last updated

Affected versions

  • digitalbazaar forge

    fixed in 1.4.1

References 3

GitHub · digitalbazaar/forge