CVE-2026-58042 Denial of service in node
An attacker can cause a Node.js process to abort by sending a DNS response with over 256 A records, leading to denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-58042?
CVE-2026-58042 is a medium-severity denial of service vulnerability in nodejs node, published on 4 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A flaw in Node.js can cause dns.resolveAny() Aborts the Node.js Process When a DNS Response Contains More Than 256 A Records. Repeated triggering of this condition can lead to denial of service. This vulnerability affects Node.js **26.x**, **24.x**, and **22.x**.
Weakness: CWE-400
Which versions are affected by CVE-2026-58042?
2 open source packages ship an affected version, including node and node-min.
| Package | Affected | Fixed in |
|---|---|---|
node Bitnami | All versions | 22.23.2, 24.18.1, 26.5.1 |
node-min Bitnami | All versions | 22.23.2, 24.18.1, 26.5.1 |
How do I fix CVE-2026-58042?
Upgrade node to a fixed version for your release line: 22.23.2, 24.18.1 or 26.5.1.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2026-58042 being exploited?
There is no known exploitation of CVE-2026-58042 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Sources
Also known as ALPINE-CVE-2026-58042, BELL-CVE-2026-58042, BIT-node-2026-58042, BIT-node-min-2026-58042, CLEANSTART-2026-AN10958, DEBIAN-CVE-2026-58042 and 11 more.