CVE-2026-58042
published 2026-08-04CVE-2026-58042: 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…
PriorityP429medium5.9CVSS 3.0
AVNACHPRNUINSUCNINAH
EPSS
0.46%
38.2th percentile
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**.
Affected
5 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| nodejs | node | 22.23.1 – 22.23.1 | — |
| nodejs | node | 24.18.0 – 24.18.0 | — |
| nodejs | node | 26.5.0 – 26.5.0 | — |
| nodejs_22 | nodejs | — | — |
| nodejs_24 | nodejs | — | — |
CVSS provenance
nvdv3.05.9MEDIUMCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
vendor_redhat5.9MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
nodejs: Node.js: Denial of Service via DNS responses with excessive A records
vendor_redhat·2026-08-04·CVSS 5.9
CVE-2026-58042 [MEDIUM] CWE-770 nodejs: Node.js: Denial of Service via DNS responses with excessive A records
nodejs: Node.js: Denial of Service via DNS responses with excessive A records
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**.
A flaw was found in Node.js. A remote attacker could exploit this vulnerability by sending a specially crafted DNS response containing an excessive number of A records. This would cause the dns.resolveAny() function to abort the Node.js process, leading to a denial of service (DoS). Repeated exploitation of this flaw can result in a persistent denial of service for affected systems.
Package: nodejs22 (Red Hat Enterprise Linux 10) - Under investigation
GHSA
A flaw in Node.js can cause dns.resolveAny() Aborts the Node.js Process When a DNS Response Contains More Than 256 A Records.
ghsa_unreviewed·2026-08-04
CVE-2026-58042 [MEDIUM] CWE-400 A flaw in Node.js can cause dns.resolveAny() Aborts the Node.js Process When a DNS Response Contains More Than 256 A Records.
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**.
VulDB
Node.js prior 22.23.1/24.18.0/26.5.0 DNS Resolution dns.resolveAny resource consumption
vuldb·2026-08-04·CVSS 5.9
CVE-2026-58042 [MEDIUM] Node.js prior 22.23.1/24.18.0/26.5.0 DNS Resolution dns.resolveAny resource consumption
A vulnerability identified as problematic has been detected in Node.js. Affected by this vulnerability is the function dns.resolveAny of the component DNS Resolution. Performing a manipulation results in resource consumption.
This vulnerability is reported as CVE-2026-58042. The attack is possible to be carried out remotely. No exploit exists.
You should upgrade the affected component.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2026-58042 nodejs24: Node.js: Denial of Service via DNS responses with excessive A records [fedora-all]
bugzilla·2026-08-11·CVSS 5.9
CVE-2026-58042 [MEDIUM] CVE-2026-58042 nodejs24: Node.js: Denial of Service via DNS responses with excessive A records [fedora-all]
CVE-2026-58042 nodejs24: Node.js: Denial of Service via DNS responses with excessive A records [fedora-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
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**.
Bugzilla
CVE-2026-58042 nodejs22: Node.js: Denial of Service via DNS responses with excessive A records [fedora-all]
bugzilla·2026-08-11·CVSS 5.9
CVE-2026-58042 [MEDIUM] CVE-2026-58042 nodejs22: Node.js: Denial of Service via DNS responses with excessive A records [fedora-all]
CVE-2026-58042 nodejs22: Node.js: Denial of Service via DNS responses with excessive A records [fedora-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
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**.
Bugzilla
CVE-2026-58042 nodejs: Node.js: Denial of Service via DNS responses with excessive A records
bugzilla·2026-08-04·CVSS 5.9
CVE-2026-58042 [MEDIUM] CVE-2026-58042 nodejs: Node.js: Denial of Service via DNS responses with excessive A records
CVE-2026-58042 nodejs: Node.js: Denial of Service via DNS responses with excessive A records
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**.
2026-08-04
Published