Skip to main content
← All vulnerabilities
CVE-2026-119191EUVD-2026-113348

Forge: ASN.1 resource exhaustion via BIT STRING decoding in asn1.fromDer

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.4.1
None on Exploit-DB, Metasploit or GitHub

Summary

Forge (node-forge), a JavaScript implementation of Transport Layer Security, is affected when parsing untrusted DER-encoded ASN.1 data with its fromDer function. Maliciously crafted input with deeply nested BIT STRINGs can cause excessive CPU use and memory consumption, potentially making the application slow or crash.

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, the affected implementation used asn1.fromDer(), BIT STRING decoding, maxDepth to process the relevant input or security decision. node-forge decoded ASN.1 stored inside BIT STRING values without consistently applying the configured maxDepth limit and recursively retained copies at each nesting level. Crafted DER containing nested BIT STRINGs could cause excessive recursion, CPU use, and quadratic memory consumption during asn1.fromDer(). This issue is fixed in version 1.4.1.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • digitalbazaar forge

    fixed in 1.4.1

References 4

GitHub · digitalbazaar/forge