Nodejs: A flaw in Node.js can cause dns.resolveAny() Aborts the Node.js Process When a DNS Response Contains More Than 256 A Records. (CVE-2026-58042)
Description
A vulnerability in Node.js affects the dns.resolveAny() function, causing the Node.js process to abort when a DNS response contains more than 256 A records. This can be repeatedly triggered to cause a denial of service. The issue impacts Node.js versions 22.x, 24.x, and 26.x.
CVSS v3.0
Score 5.9medium
Affected software
pkg:deb/ubuntu/nodejs?arch=source&distro=esm-infra-legacy/trustypkg:deb/ubuntu/nodejs?arch=source&distro=esm-apps/xenialpkg:deb/ubuntu/nodejs?arch=source&distro=esm-apps/bionicpkg:deb/ubuntu/nodejs?arch=source&distro=esm-apps/focalpkg:deb/ubuntu/nodejs?arch=source&distro=esm-apps/jammypkg:deb/ubuntu/nodejs?arch=source&distro=noblepkg:deb/ubuntu/nodejs?arch=source&distro=stonkingpkg:deb/ubuntu/nodejs?arch=source&distro=resoluteRun 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
Technical Analysis
The vulnerability in Node.js arises from the dns.resolveAny() function aborting the Node.js process when it receives a DNS response containing more than 256 A records. This flaw can be exploited to cause repeated process crashes, leading to a denial of service condition. The affected Node.js versions are 22.x, 24.x, and 26.x. The CVSS v3.0 score is 5.9, indicating a medium severity with network attack vector, high attack complexity, no privileges required, no user interaction, unchanged scope, no confidentiality or integrity impact, but high impact on availability.
Potential Impact
Successful exploitation results in the Node.js process aborting, causing denial of service. There is no confidentiality or integrity impact reported. The vulnerability can be triggered remotely without privileges or user interaction but requires a complex attack vector.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided in the available data. Users should monitor vendor advisories for updates and consider mitigating exposure to untrusted DNS responses containing excessive A records.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2026-58042
- Osv Schema Version
- 1.7.0
- Ecosystems
- ["Ubuntu:Pro:14.04:LTS","Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:Pro:20.04:LTS","Ubuntu:Pro:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:26.10","Ubuntu:26.04:LTS"]
- Cvss Version
- 3.0
- State
- PUBLISHED
Threat ID: 6ad3f5de2cdf04f656663472
Added to database: 10/17/2026, 22:25:34 UTC
Last enriched: 10/18/2026, 00:32:44 UTC
Last updated: 10/18/2026, 00:32:44 UTC
Views: 2
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.
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.