Skip to main content
EPSS 0.4%top 69%

CVE-2026-58042: CWE-400 Uncontrolled Resource Consumption in nodejs node

0
Medium
VulnerabilityCVE-2026-58042cvecve-2026-58042cwe-400
Published: 08/04/2026 (08/04/2026, 00:49:58 UTC)
Source: CVE Database V5
Vendor/Project: nodejs
Product: node

Description

A vulnerability in Node.js versions 22.23.1, 24.18.0, and 26.5.0 exists where the dns.resolveAny() function aborts the Node.js process if a DNS response contains more than 256 A records. This can be repeatedly triggered to cause a denial of service condition. The issue is classified as CWE-400, indicating uncontrolled resource consumption. The CVSS v3.0 score is 5.9, reflecting a medium severity impact primarily affecting availability.

CVSS v3.0

Score 5.9medium

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

nodejs

node

Affected versions
>=26.5.0 <=26.5.0>=24.18.0 <=24.18.0>=22.23.1 <=22.23.1
node
pkg:npm/node
Affected versions
=26.5.0=24.18.0=22.23.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/11/2026, 18:27:57 UTC

Technical Analysis

CVE-2026-58042 is a denial of service vulnerability in Node.js affecting versions 22.23.1, 24.18.0, and 26.5.0. The flaw occurs when the dns.resolveAny() API call processes a DNS response containing more than 256 A records, causing the Node.js process to abort. This uncontrolled resource consumption can be exploited by sending crafted DNS responses to trigger repeated process crashes, resulting in service disruption. The vulnerability is identified as CWE-400 and has a CVSS v3.0 score of 5.9 with network attack vector, high attack complexity, no privileges required, no user interaction, and impacts availability only.

Potential Impact

Successful exploitation leads to denial of service by crashing the Node.js process when dns.resolveAny() receives a DNS response with more than 256 A records. This disrupts availability of applications relying on Node.js for DNS resolution. There is no impact on confidentiality or integrity.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround is currently documented. Users should monitor vendor communications for updates and consider limiting exposure to untrusted DNS responses as a precaution.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
hackerone
Date Reserved
2026-06-27T15:00:00.780Z
Cvss Version
3.0
State
PUBLISHED

Threat ID: 6a713a63bf32cb7a3480a4d5

Added to database: 08/04/2026, 01:03:31 UTC

Last enriched: 08/11/2026, 18:27:57 UTC

Last updated: 09/17/2026, 22:01:36 UTC

Views: 66

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses