CVE-2026-119187

Forge: Denial of service in TLS record processing via call stack exhaustion

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 forge.tls.createConnection(), TLS record processing, process() to process the relevant input or security decision. node-forge processed received TLS records recursively, consuming one JavaScript stack frame per record in a single input chunk. A remote peer could send thousands of small records together and exhaust the call stack, causing an uncaught exception and denial of service. This issue is fixed in version 1.4.1.

Analysis

AI-generated

Technical impact

Node‑forge used by applications that implement TLS processes each record in a TLS stream by making a recursive call per record. An attacker can send thousands of small TLS records in a single input chunk, consuming one JavaScript stack frame for each record. The recursion eventually exceeds the call stack size, causing an uncaught exception and halting the TLS session, which results in a denial of service to the affected Node.js process. The weakness is an uncontrolled recursion identified as CWE‑674 and CWE‑770, and it does not directly expose confidentiality or integrity of data.

Affected Systems

Applications that incorporate the digitalbazaar:forge (node‑forge) library and use the forge.tls.createConnection() API are vulnerable when running any version older than 1.4.1. The issue applies to Node.js projects that rely on it for TLS support and has not been fixed in earlier releases.

Risk and Exploitability

The CVSS score of 7.5 classifies this bug as high severity, and there is no evidence of a publicly known exploit or listing in the CISA KEV catalog. The EPSS score is not available, but the vulnerability can be exploited remotely by an attacker who can initiate TLS traffic to the target. Based on the description, it is inferred that the attacker can initiate TLS traffic to the target. The attack requires the ability to send crafted TLS records, which is typically achievable from a client behind the attacker's control. The lack of a public exploit mitigates immediate risk, yet the high CVSS indicates that once exploited it can cause a serious service disruption.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade node‑forge to version 1.4.1 or later, which removes the recursion bug.
  • Audit all project dependencies to ensure the updated forge version is in use and that no legacy code paths call forge.tls.createConnection() with untrusted data.
  • If an immediate upgrade is not feasible, limit the exposure of TLS connections that use node‑forge by restricting maximum record size, dropping streams that exceed a safe threshold, or by moving to an alternative TLS stack for public endpoints.

Generated by OpenCVE AI on October 30, 2026 at 13:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-hqq3-7jhf-c5jx Forge: Denial of service in TLS record processing via call stack exhaustion
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 forge.tls.createConnection(), TLS record processing, process() to process the relevant input or security decision. node-forge processed received TLS records recursively, consuming one JavaScript stack frame per record in a single input chunk. A remote peer could send thousands of small records together and exhaust the call stack, causing an uncaught exception and denial of service. This issue is fixed in version 1.4.1.
Title Forge: Denial of service in TLS record processing via call stack exhaustion
Weaknesses 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-674

    Uncontrolled Recursion

  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 4, 2026, 1:38 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:19 PM