CVE-2026-119191

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

Published Oct 29, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability arises when forge's ASN.1 decoder processes nested BIT STRINGs without properly enforcing the configured maxDepth limit, leading to uncontrolled recursion and quadratic memory usage, which can collapse system resources. Attackers can craft DER‑encoded data that triggers extensive CPU cycles and memory consumption during asn1.fromDer, thus denying service to the application or underlying system.

Affected Systems

Digital Bazaar Forge, any JavaScript or Node.js application using forge prior to version 1.4.1 is affected. The issue exists in all earlier releases and is fixed in v1.4.1.

Risk and Exploitability

The CVSS score of 7.5 indicates high severity. The EPSS score of 0.00429 (roughly 0.4%) indicates a low but non‑zero likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog. Attackers are likely to target services that use forge to parse certificates or other ASN.1 structures, and crafted input can be supplied over network, file upload, or embedded data.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade forge to version 1.4.1 or later.
  • If upgrading is not possible, apply defensive input validation to reject overly nested BIT STRINGs before decoding.
  • Enable system‑wide resource limits for processes that load forge to mitigate denial of service impact.

Generated by OpenCVE AI on November 6, 2026 at 02:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-rhr8-3pm8-cq29 Forge: ASN.1 resource exhaustion via BIT STRING decoding in asn1.fromDer
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:2.3:a:digitalbazaar:forge:*:*:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Digitalbazaar
Digitalbazaar forge
Vendors & Products Digitalbazaar
Digitalbazaar forge
Type Values Removed Values Added
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.
Title Forge: ASN.1 resource exhaustion via BIT STRING decoding in asn1.fromDer
Weaknesses CWE-400
CWE-674
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-674

    Uncontrolled Recursion

  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 4, 2026, 1:39 AM
Reserved
Oct 29, 2026, 4:04 PM
Status
Modified
Published
Oct 29, 2026, 8:17 PM
Modified
Nov 4, 2026, 2:17 AM
Severity
Important
Public date
Oct 29, 2026, 7:26 PM