CVE-2026-105482
Fixed in a distro release EPSS <1%CVSS 7.4
A flaw in Node.js DNS resolution allows hostnames containing a NUL byte to be silently truncated by the dns.resolve*() functions and dns.reverse(). This is an incomplete fix of CVE-2026-48930, which only covered dns.lookup() and the net/tls host options. Because the name is passed to c-ares as a C string, resolving attacker.example\0.trusted.example queries attacker.example and returns its records without any error. Applications that validate a hostname, for example against a domain allowlist, and then resolve it with dns.resolve*() can act on records for a different name than the one they validated. This vulnerability affects Node.js 26.x, 24.x, and 22.x.
Products: NodeJS Node
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Alpine 3.21 | nodejs | 22.23.4-r0 |
| Alpine 3.22 | nodejs | 22.23.4-r0 |
| Alpine 3.23 | nodejs | 24.22.1-r0 |
| Alpine 3.24 | nodejs | 24.22.1-r0 |
| Chainguard | nodejs-22 | 22.23.4-r0 |
| Debian 12 | nodejs | no fix |
| Debian 13 | nodejs | no fix |
| Debian 14 | nodejs | no fix |
| Ubuntu 24.04 LTS | nodejs | no fix |
| Ubuntu 26.04 LTS | nodejs | no fix |
| Ubuntu 26.10 | nodejs | no fix |
| Ubuntu Pro 14.04 LTS | nodejs | no fix |
| Ubuntu Pro 16.04 LTS | nodejs | no fix |
| Ubuntu Pro 18.04 LTS | nodejs | no fix |
| Ubuntu Pro 20.04 LTS | nodejs | no fix |
| Ubuntu Pro 22.04 LTS | nodejs | no fix |
| Wolfi | nodejs-22 | 22.23.4-r0 |
| openSUSE Tumbleweed | nodejs24 | 24.22.1-1.1 |