Skip to main content
VulnerabilityPublished

CVE-2026-119191: Forge · ASN.1 resource exhaustion via BIT STRING decoding in asn1.fromDer

Affects node-forgeSource GCVE Database

0
Compare
Authoritative record:CVE-2026-119191· High 7.5

Not known to be exploited · CVSS 7.5 High : upgrade to 1.4.1 soon.

Data as of 10 Nov 2026, 17:35 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.17.5
Patch
Available – fixed in 1.4.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 10 Nov 2026.

What to do

Upgrade node-forge to 1.4.1.

Affected software

ProductAffectedFixed in
npmnode-forgeAffected
  • <1.4.1
Fixed in
  • 1.4.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade node-forge to version 1.4.1 or later, where the maxDepth recursion limit is properly enforced and only one level of BIT STRING contents is decoded. As a workaround, code that calls forge.asn1.fromDer() directly and does not require decoding encapsulated BIT STRING contents can pass the option {decodeBitStrings: false}, though this changes the parsed structure. Higher-level PKI, PKCS, and TLS APIs do not expose this option and require upgrading to remediate.

Description

The node-forge library's asn1.fromDer() function decodes BIT STRING contents as ASN.1 by default but fails to enforce the maxDepth recursion limit properly, allowing crafted DER or PEM inputs with deeply nested BIT STRINGs to cause excessive CPU and memory consumption. This can lead to denial of service by aborting the Node.js process due to heap exhaustion. The issue is fixed in node-forge version 1.4.1 by enforcing the maxDepth limit and decoding only one level of BIT STRING contents.

References

Community reviews

Loading reviews…