CVE-2026-58045

nodejs: Node.js: Denial of Service vulnerability

Published Aug 4, 2026 CVSS 3.1 · 6.2 Medium EPSS < 1% KEV · Not listed
Description
A flaw in Node.js allows a spoofed `TypedArray` `byteLength` to trigger a reachable assertion in the synchronous `node:zlib` APIs, causing the entire process to crash. All 11 synchronous zlib functions are affected.

Repeated exploitation of this condition can result in a denial of service.

This vulnerability affects Node.js **22.x**, **24.x**, and **26.x**.

Analysis

AI-generated

Technical impact

A flaw in Node.js’s synchronous zlib APIs allows a maliciously crafted TypedArray byteLength to trigger a reachable assertion, causing the entire process to crash. This issue is identified as Improper Input Validation (CWE‑400) and also references Stack-based Buffer Overflow (CWE‑617). The repeated exploitation results in a denial of service, potentially overwhelming a running Node.js application.

Affected Systems

The vulnerability affects the Node.js runtime, specifically versions 22.x, 24.x, and 26.x.

Risk and Exploitability

The CVSS score of 6.2 indicates moderate severity. An EPSS score of <1% suggests a low likelihood of exploitation, and the vulnerability is not listed in the CISA KEV catalog. An attacker who can supply a malformed TypedArray to a Node.js application that calls any of the 11 synchronous zlib functions may trigger the reachable assertion and cause a crash; repeated exploitation can lead to a denial of service.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Node.js to a version that includes the fix.
  • If an upgrade is not immediately possible, replace all use of synchronous zlib functions with the corresponding asynchronous APIs or add strict checks on TypedArray byteLength input.
  • Consider isolating critical Node.js services behind a firewall or access control layer to limit the impact of a potential denial of service attack.

Generated by OpenCVE AI on August 11, 2026 at 02:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title TypedArray ByteLength Spoofing in Node.js zlib APIs Leads to Process Crash nodejs: Node.js: Denial of Service vulnerability
Weaknesses CWE-617
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Nodejs
Nodejs nodejs
Vendors & Products Nodejs
Nodejs nodejs
Type Values Removed Values Added
Title TypedArray ByteLength Spoofing in Node.js zlib APIs Leads to Process Crash
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A flaw in Node.js allows a spoofed `TypedArray` `byteLength` to trigger a reachable assertion in the synchronous `node:zlib` APIs, causing the entire process to crash. All 11 synchronous zlib functions are affected. Repeated exploitation of this condition can result in a denial of service. This vulnerability affects Node.js **22.x**, **24.x**, and **26.x**.
Weaknesses CWE-400
References
Metrics cvssV3_0

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

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-617

    Reachable Assertion

Sources

Status
PUBLISHED
Assigner
hackerone
Published
Updated
Aug 4, 2026, 3:03 PM
Reserved
Jun 27, 2026, 3:00 PM
Status
Awaiting Analysis
Published
Aug 4, 2026, 1:16 AM
Modified
Oct 23, 2026, 11:10 PM
Severity
Moderate
Public date
Aug 4, 2026, 12:49 AM