cve.bz

CVE-2026-58042 nodejs node: Uncontrolled Resource Consumption

5.9 mediumEPSS 0.4%

Medium (5.9) in nodejs node. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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**.

Severity

CVSS 3.0

5.9 medium
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 37th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-08-04. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-400 Uncontrolled Resource Consumption
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-58042 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-58042?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-58042?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-58042 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
nodejs nodefrom 26.5.0 through 26.5.0
nodejs nodefrom 24.18.0 through 24.18.0
nodejs nodefrom 22.23.1 through 22.23.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12nodejs18.20.4+dfsg-1~deb12u3DEBIAN-CVE-2026-58042 DLA-4809-1
Debian13nodejs20.19.2+dfsg-1+deb13u3DEBIAN-CVE-2026-58042 DSA-6517-1
Debian14nodejs24.19.0+dfsg+~cs24.13.3-1DEBIAN-CVE-2026-58042
Ubuntu24.04:LTS, 26.04:LTS, 26.10 and 5 morenodejsno fix listedUBUNTU-CVE-2026-58042
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-libs and 5 more1:22.23.2-1.module+el8.10.0+24710+c2e9b41fRHSA-2026:62219
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-libs and 5 more1:24.19.0-1.module+el8.10.0+24711+b610b202RHSA-2026:62583
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:3.1.14-2.module+el8.10.0+24710+c2e9b41fRHSA-2026:62219
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:3.1.14-2.module+el8.10.0+24711+b610b202RHSA-2026:62583
Red Hatenterprise_linux:8::appstreamnodejs-packaging, nodejs-packaging-bundler0:2021.06-6.module+el8.10.0+24710+c2e9b41fRHSA-2026:62219
Red Hatenterprise_linux:8::appstreamnodejs-packaging, nodejs-packaging-bundler0:2021.06-6.module+el8.10.0+24711+b610b202RHSA-2026:62583
Red Hatenterprise_linux:8::appstreamnpm1:10.9.8-1.22.23.2.1.module+el8.10.0+24710+c2e9b41fRHSA-2026:62219
Red Hatenterprise_linux:8::appstreamnpm1:11.17.0-1.24.19.0.1.module+el8.10.0+24711+b610b202RHSA-2026:62583
Red Hatenterprise_linux:8::appstreamv8-12.4-devel3:12.4.254.21-1.22.23.2.1.module+el8.10.0+24710+c2e9b41fRHSA-2026:62219
Red Hatenterprise_linux:8::appstreamv8-13.6-devel3:13.6.233.17-1.24.19.0.1.module+el8.10.0+24711+b610b202RHSA-2026:62583
Red Hatenterprise_linux:9::appstreamnodejs, nodejs-docs, nodejs-libs and 5 more1:22.23.2-1.module+el9.8.0+24709+804d6b5bRHSA-2026:61383
Red Hatenterprise_linux:9::appstreamnodejs, nodejs-docs, nodejs-libs and 5 more1:24.19.0-1.module+el9.8.0+24708+e71d2e1dRHSA-2026:61386
31 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 morenodejs1818.20.8-150400.9.39.1SUSE-SU-2026:4261-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 1 morenodejs1616.20.2-150400.3.42.1SUSE-SU-2026:4355-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Server 15 SP5-LTSS and 1 morenodejs2020.20.2-150500.11.30.1SUSE-SU-2026:3930-1
SUSELinux Enterprise Module for Web and Scripting 15 SP7nodejs2222.23.2-150700.3.18.1SUSE-SU-2026:3557-1
SUSELinux Enterprise Module for Web and Scripting 15 SP7nodejs2424.18.1-150700.15.16.1SUSE-SU-2026:3520-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5nodejs1818.20.8-8.44.1SUSE-SU-2026:4248-1
SUSELinux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6nodejs2020.20.2-150600.3.21.1SUSE-SU-2026:3929-1
SUSELinux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6nodejs2222.23.2-150600.13.24.1SUSE-SU-2026:3521-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0nodejs2222.23.2-160000.1.1SUSE-SU-2026:23130-1 SUSE-SU-2026:23154-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0nodejs2424.18.1-160000.1.1SUSE-SU-2026:23131-1 SUSE-SU-2026:23155-1
openSUSELeap 16.0nodejs2222.23.2-160000.1.1openSUSE-SU-2026:21545-1
openSUSELeap 16.0nodejs2424.18.1-160000.1.1openSUSE-SU-2026:21546-1
openSUSETumbleweednodejs2424.18.1-1.1openSUSE-SU-2026:11439-1
openSUSETumbleweednodejs2626.5.1-1.1openSUSE-SU-2026:11440-1
AlmaLinux8nodejs, nodejs-docs, nodejs-libs and 2 more1:22.23.2-1.module_el8.10.0+4265+75d28086ALSA-2026:62219
AlmaLinux8nodejs, nodejs-docs, nodejs-libs and 2 more1:24.19.0-1.module_el8.10.0+4268+8e07aa5aALSA-2026:62583
AlmaLinux8nodejs-nodemon3.1.14-2.module_el8.10.0+4250+09238ed4ALSA-2026:62583
AlmaLinux8nodejs-nodemon3.1.14-2.module_el8.10.0+4252+aedd4c30ALSA-2026:62219
AlmaLinux8nodejs-packaging, nodejs-packaging-bundler2021.06-6.module_el8.10.0+4086+70facd4aALSA-2026:62583
AlmaLinux8nodejs-packaging, nodejs-packaging-bundler2021.06-6.module_el8.10.0+4158+e796f37fALSA-2026:62219
AlmaLinux8npm1:10.9.8-1.22.23.2.1.module_el8.10.0+4265+75d28086ALSA-2026:62219
AlmaLinux8npm1:11.17.0-1.24.19.0.1.module_el8.10.0+4268+8e07aa5aALSA-2026:62583
AlmaLinux8v8-12.4-devel3:12.4.254.21-1.22.23.2.1.module_el8.10.0+4265+75d28086ALSA-2026:62219
AlmaLinux8v8-13.6-devel3:13.6.233.17-1.24.19.0.1.module_el8.10.0+4268+8e07aa5aALSA-2026:62583
AlmaLinux9nodejs, nodejs-docs, nodejs-libs and 2 more1:22.23.2-1.module_el9.8.0+302+959ebcd4ALSA-2026:61383
AlmaLinux9nodejs, nodejs-docs, nodejs-libs and 2 more1:24.19.0-1.module_el9.8.0+301+084fac05ALSA-2026:61386
13 more for AlmaLinux in the JSON.
Rocky Linux9nodejs-nodemon0:3.1.14-1.module+el9.8.0+40263+faa47049RLSA-2026:97855
Rocky Linux9nodejs-packaging0:2021.06-6.module+el9.7.0+40052+e32ea525RLSA-2026:97855
Rocky Linux9nodejs-packaging0:2021.06-6.module+el9.7.0+40153+4d595597RLSA-2026:97855
Rocky Linux9nodejs-packaging0:2021.06-6.module+el9.7.0+40165+d075e3f2RLSA-2026:97855
Rocky Linux9nodejs-packaging0:2021.06-6.module+el9.8.0+40164+8921ab53RLSA-2026:97855
Rocky Linux10nodejs26, nodejs26-docs, nodejs26-libs and 5 more1:26.12.1-3.el10_3RLSA-2026:98619
Rocky Linux10nodejs26-npm1:11.20.0-1.26.12.1.3.el10_3RLSA-2026:98619
Alpinev3.21, v3.22nodejs22.23.2-r0ALPINE-CVE-2026-58042
Alpinev3.23, v3.24nodejs24.18.1-r0ALPINE-CVE-2026-58042
Alpinev3.24nodejs-current26.5.1-r0ALPINE-CVE-2026-58042
Alpaquita25nodejs22.23.2-r0BELL-CVE-2026-58042
Alpaquitastreamnodejs24.18.1-r0BELL-CVE-2026-58042
BellSoft Hardened Containers25nodejs22.23.2-r0BELL-CVE-2026-58042
BellSoft Hardened Containersstreamnodejs24.18.1-r0BELL-CVE-2026-58042

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This Moderate DoS flaw affects Node.js applications using dns.resolveAny(). An attacker can crash the process by providing a DNS response with more than 256 'A' records. Requiring the ability to manipulate DNS responses increases the attack complexity.

Red Hat's mitigation

If unused, avoid dns.resolveAny() (prefer narrower resolvers such as resolve4 / lookup). Use trusted DNS resolvers and block untrusted DNS paths. Note that replacing dns.resolveAny() with narrower resolvers may break application features that depend on retrieving non-IP records, such as MX or TXT.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10nodejs22-1:22.23.2-1.el10_2Fixed 2026-08-31RHSA-2026:61376
Red Hat Enterprise Linux 10nodejs24-1:24.19.0-1.el10_2Fixed 2026-08-31RHSA-2026:61377
Red Hat Enterprise Linux 10.0 Extended Update Supportnodejs22-1:22.23.2-1.el10_0Fixed 2026-09-08RHSA-2026:64817
Red Hat Enterprise Linux 8nodejs:22-8100020260819113925.6d880403Fixed 2026-09-01RHSA-2026:62219
Red Hat Enterprise Linux 8nodejs:24-8100020260819113942.6d880403Fixed 2026-09-02RHSA-2026:62583
Red Hat Enterprise Linux 9nodejs:22-9080020260819113937.rhel9Fixed 2026-08-31RHSA-2026:61383
Red Hat Enterprise Linux 9nodejs:24-9080020260819113946.rhel9Fixed 2026-08-31RHSA-2026:61386
Red Hat Enterprise Linux 9nodejs:26-9090020260922082827.rhel9Fixed 2026-11-10RHSA-2026:97855
Red Hat Enterprise Linux 9.6 Extended Update Supportnodejs:22-9060020260901085634.rhel9Fixed 2026-09-02RHSA-2026:62416
Red Hat Hardened Imagesnodejs22-main-10.9.8-1.22.23.2.2.3.hum1Fixed 2026-07-29RHSA-2026:48305
Red Hat Hardened Imagesnodejs22-main-22.23.2-2.3.hum1Fixed 2026-07-29RHSA-2026:48305
Red Hat Hardened Imagesnodejs24-main-11.16.0-1.24.18.1.0.1.hum1Fixed 2026-07-30RHSA-2026:48537
Red Hat Hardened Imagesnodejs24-main-24.18.1-0.1.hum1Fixed 2026-07-30RHSA-2026:48537
Red Hat Hardened Imagesnodejs26-main-11.19.0-1.26.7.0.1.5.1.hum1Fixed 2026-08-10RHSA-2026:52990
Red Hat Hardened Imagesnodejs26-main-26.7.0-1.5.1.hum1Fixed 2026-08-10RHSA-2026:52990
Red Hat Enterprise Linux 10nodejs26Affected
Red Hat Hardened Imagesnodejs20Not affected
Red Hat Hardened Imagesnodejs25Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-58042.

GitHub PoC (unverified)

Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON