Skip to main content

Node.js EUVDEUVD-2026-52553

| CVE-2026-58042 MEDIUM
Uncontrolled Resource Consumption (CWE-400)
5.9
CVSS 3.0 · Vendor
View

Attack ChainAIDerived

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

  1. Access
    Control authoritative DNS for queried domain
  2. Delivery
    Application calls dns.resolveAny() on attacker-influenced hostname
  3. Exploit
    Deliver oversized DNS ANY reply
  4. Execution
    Trigger uncontrolled resource consumption in parser
  5. Impact
    Node.js process exhausted or crashes

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 the target Node.js application calls dns.resolveAny() (the DNS ANY-record lookup API) against a hostname whose DNS responses the attacker can influence. The attacker must control an authoritative DNS server for the queried domain, or be positioned on the network path to intercept and replace DNS replies (DNS spoofing, MitM, or cache poisoning). The CVSS AC:H metric reflects these positioning requirements. Exploitation is limited by: (1) the application must actually invoke dns.resolveAny() - standard dns.lookup() or dns.resolve4() calls are not affected; (2) the attacker must control or intercept the specific DNS response returned to the process; (3) no authentication bypass or privilege escalation is involved - impact is limited to the availability of the Node.js process itself.

Impact

The CVSS 3.0 base score of 5.9 (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H) reflects a narrow but real threat: network-reachable, requiring no authentication or user interaction, but constrained by High Attack Complexity, meaning the attacker must be positioned to control or inject DNS responses (e.g., operate a malicious authoritative DNS server, perform DNS spoofing, or occupy a MitM network position). The impact is purely an availability loss - no confidentiality or integrity risk. EPSS data is not provided for this pre-NVD CVE; however, the combined signals (no KEV, no POC, AC:H, Medium vendor severity rating) suggest this is a low-to-moderate real-world priority. Applications that make outbound dns.resolveAny() calls against attacker-influenced DNS infrastructure (e.g., resolving user-supplied hostnames) are at greatest risk. The broader security release context - ten CVEs fixed simultaneously, including two High-severity issues - means upgrade priority should be driven by the full release, not this CVE alone.

Exploit ScenarioDerived

An attacker operates a malicious authoritative DNS server for a domain they control, or achieves a network position enabling DNS response spoofing (e.g., via BGP hijack, on-path interception, or cache poisoning). A Node.js 26.x application calls dns.resolveAny('attacker-controlled-domain.example'), and the attacker returns a crafted DNS reply containing an abnormally large number of address records. The Node.js DNS parser fails to cap resource consumption while processing the reply, causing memory exhaustion or CPU saturation that crashes or hangs the Node.js process.

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

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

Alert me

AnalysisAIv1 – Aug 04, 2026

Uncontrolled resource consumption in Node.js 26.x DNS module allows a network-positioned attacker to trigger a denial-of-service condition by delivering an oversized resolveAny DNS reply to an affected application. The vulnerability (CWE-400) was patched in Node.js v26.5.1 released 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; the CVSS AC:H metric reflects the prerequisite of controlling or spoofing DNS responses reaching the target process.

RemediationAI

Upgrade Node.js to v26.5.1 or later; this is the vendor-released patch confirmed by the GitHub release at https://github.com/nodejs/node/releases/tag/v26.5.1 and the Node.js security blog at https://nodejs.org/en/blog/vulnerability/july-2026-security-releases. If immediate upgrade is not possible, the primary compensating control is to restrict or eliminate application-level use of dns.resolveAny() - removing calls to this API eliminates the vulnerable code path entirely, though this may break functionality that depends on ANY-record lookups. A secondary control is to enforce DNS traffic routing through a trusted, response-validating resolver (e.g., a local recursive resolver with DNSSEC validation and response-size limits such as those available in Unbound or BIND with max-udp-size and edns-udp-size tuning), which reduces the attacker's ability to deliver oversized replies. Neither workaround is a substitute for patching. Note that the v26.5.1 release also fixes nine additional CVEs including two High-severity issues, making upgrade strongly advisable on that basis alone.

Affected VersionsENISA

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

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 dns module, specifically in the handling of responses to dns.resolveAny() (DNS ANY-type queries), which aggregate all record types (A, AAAA, MX, TXT, etc.) from a single DNS reply. CWE-400 (Uncontrolled Resource Consumption) indicates that when the DNS resolver receives an abnormally large reply - one containing an excessive number of address records - the runtime fails to bound memory or CPU usage during reply parsing, creating a resource exhaustion path. The fix (commit dbeeaeec13, private PR nodejs-private/node-private#929, authored by RafaelGSS) is titled 'dns: handle large resolveAny address replies', confirming the parser now enforces limits on reply size. Affected version is Node.js 26.x prior to 26.5.1 (Current line); the release notes identify this as a 'Medium' severity issue within the broader July 2026 security release.

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 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.9 MEDIUM

Network vector (DNS over network); AC:H because attacker must control or spoof DNS responses; PR:N as no app-level authentication required; A:H for process-level resource exhaustion; no C/I impact.

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

Primary rating from Vendor (CNA).

CVSS VectorVendor

Attack Vector
Network
Attack Complexity
High
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
5.9 (MEDIUM)
CVE Published
Jul 29, 2026 - 14:02 github-releases
UNKNOWN (no severity yet)
CVE Published
Jul 29, 2026 - 14:02 github-releases
MEDIUM 5.9

Description PRE-NVD

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

Threat Intelligence Overview

EPSS Score
0.4%
Top 67% exploitable
Prevalence
Ubiquitous
Node.js is a dominant server-side JavaScript runtime deployed globally across enterprise and cloud environments.
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.4%
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
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
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