Intel

AIKIDO-2026-581496

node is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)CVE-2026-58042 Published 3 days ago

45

Medium Risk

This Affects:

OSnode
0.0.1 - 22.23.1
Fixed in 22.23.2
23.0.0 - 24.18.0
Fixed in 24.18.1
25.0.0 - 26.5.0
Fixed in 26.5.1
Are you affected? Scan for Free

TL;DR

Affected versions of the package are vulnerable to a denial-of-service condition in dns.resolveAny() when a DNS response contains more than 256 A records. Address/TTL parsing writes into a fixed-size 256-element stack buffer; a larger answer set overruns that buffer and aborts the Node.js process. An attacker who can influence DNS responses, for example via a malicious or compromised resolver, can repeatedly trigger this condition to crash the application. The fix sizes the TTL buffers from the DNS answer count instead of using a fixed 256-slot array.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

node is vulnerable to Denial of Service (DoS) in versions 25.0.0 - 26.5.0, 23.0.0 - 24.18.0 and 0.0.1 - 22.23.1.

How to fix this

Upgrade the node library to a patch version.