CVE-2026-58042: CWE-400 Uncontrolled Resource Consumption in nodejs node
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.
AI Analysis
Technical Summary
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.
CVE-2026-58042: CWE-400 Uncontrolled Resource Consumption in nodejs 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
Affected software
nodejs
node
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.