Skip to main content

Node.js zlib CVE-2026-58045

| EUVDEUVD-2026-52562 MEDIUM
Uncontrolled Resource Consumption (CWE-400)
6.2
CVSS 3.0 · Vendor
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Supply crafted oversized zlib write buffer
  2. Exploit
    Trigger missing bounds check in zlib module
  3. Execution
    Cause uncontrolled resource use or crash
  4. Impact
    Node.js process denied service

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that attacker-controlled data reaches the Node.js zlib module's write path as a buffer that exceeds valid bounds. The CVSS vector designates AV:L (local), meaning the attacker must either execute code in the same Node.js process or supply input to an application that passes it to zlib write APIs without prior size or bounds validation. No privilege level is required (PR:N) once access to the write path is achieved. Applications that do not expose zlib processing to untrusted external input - for example, those using zlib only for internal data compression with trusted, fixed-size inputs - are not at meaningful risk. Impact on Node.js LTS lines beyond v26.x is unconfirmed from available data, limiting confirmed scope to the Current v26.x line prior to v26.5.1.

Impact

The CVSS 3.0 vector AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H scores at 6.2, reflecting a local attack vector with high availability impact and no confidentiality or integrity loss. The AV:L designation is the key risk limiter: exploitation requires that attacker-controlled data reach the zlib write API directly - through local code execution in the same process, or through an application that passes externally-supplied data to zlib without prior validation. This meaningfully constrains the exposed population compared to a network-vector flaw. EPSS data is not yet available given this is a pre-NVD disclosure, so probabilistic exploitation likelihood cannot be quantified. There is no CISA KEV listing and no public exploit code, consistent with the Medium rating assigned by the Node.js team. The risk is real but bounded: the impact ceiling is a crashed Node.js process (DoS), not code execution or data exfiltration. Applications that expose zlib-backed endpoints (compression middleware, archive processing, streaming APIs) to untrusted input without server-side input size validation represent the realistic higher-risk deployment pattern.

Exploit ScenarioDerived

An attacker supplies a crafted oversized or out-of-bounds write buffer to a Node.js application that passes external input directly to the zlib module (for example, a compression endpoint or archive extraction service). On Node.js v26.x before v26.5.1, the absence of a bounds check causes uncontrolled resource consumption or a process crash, taking down the application. No public exploit code has been identified; the scenario relies on application-level exposure of zlib processing to untrusted data.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 04, 2026

Out-of-bounds write buffer handling in the Node.js built-in zlib module (v26.x prior to v26.5.1) fails to throw an exception when a write buffer exceeds valid bounds, enabling a local denial-of-service via process crash or uncontrolled resource consumption. The Node.js security team rated this Medium severity (CVSS 6.2, AV:L) and shipped a fix in v26.5.1 on 2026-07-29 as part of a broader security release addressing ten CVEs. No public exploit code and no CISA KEV listing have been identified at time of analysis.

RemediationAI

Upgrade Node.js Current to v26.5.1 or later, as released 2026-07-29 and documented at https://github.com/nodejs/node/releases/tag/v26.5.1 and https://nodejs.org/en/blog/vulnerability/july-2026-security-releases. No explicit workarounds are documented in the available data. As a compensating control prior to patching, applications should validate buffer sizes before invoking zlib APIs (e.g., zlib.deflate, zlib.createGzip, zlib.createInflate), enforcing maximum input sizes at the application boundary and rejecting buffers that exceed expected limits - this adds validation overhead but reduces the attack surface. Check nodejs.org for corresponding patches to active LTS lines (v20.x, v22.x) if those versions are in use.

Affected VersionsENISA

Node 26.5.0 ≤26.5.0
Node 24.18.0 ≤24.18.0
Node 22.23.1 ≤22.23.1

Affected Packages

euvd node no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in Node.js's built-in zlib module, which wraps the native zlib C library to provide deflate, inflate, gzip, brotli, and related compression stream operations used widely across the Node.js ecosystem. CWE-400 (Uncontrolled Resource Consumption) characterizes the root cause: the write path did not validate whether a supplied buffer was within valid bounds before proceeding, meaning an oversized or malformed buffer could drive resource exhaustion or trigger undefined behavior leading to a process crash. The fix by RafaelGSS (commit af0bf96877 series, nodejs-private/node-private) introduces an explicit bounds check that throws a catchable JavaScript error, converting an unhandled fault into a recoverable exception. No explicit CPE string was provided in the input, but the affected artifact is the node binary for the Current release line (v26.x) prior to v26.5.1.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (CNA) PRIMARY 6.2 MEDIUM
AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 6.2 MEDIUM

Local attack vector confirmed by Node.js team assignment; no confidentiality or integrity impact - only availability loss via process crash.

3.1 AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE MEDIUM
Red Hat 6.2 MEDIUM

Primary rating from Vendor (CNA).

CVSS VectorVendor

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

3
CVSS changed
Aug 04, 2026 - 01:22 NVD
6.2 (MEDIUM)
CVE Published
Jul 29, 2026 - 14:02 github-releases
UNKNOWN (no severity yet)
CVE Published
Jul 29, 2026 - 14:02 github-releases
MEDIUM 6.2

Description PRE-NVD

Disclosed via GitHub release of nodejs/node. NVD scoring and full description are pending.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Ubiquitous
dominant JavaScript runtime across enterprise, cloud, and open-source ecosystems
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

31
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +31
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Server 15 SP6-LTSS Affected
SUSE Linux Enterprise Server 15 SP6-LTSS Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP6 Affected
SUSE Linux Enterprise High Performance Computing 12 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy