Vulnerability
CVE-2026-105482
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.
74 advisories report this vulnerability, across 14 ecosystems.
Advisories in Chainguard
- CGA-29j9-248m-p4v2
- CGA-2hwh-hmxp-mwxr
- CGA-2x2w-62vw-9v9h
- CGA-49cm-992f-3vmx
- CGA-4j7q-438w-6jxc
- CGA-62fj-mr29-x87m
- CGA-6gpw-c245-qmx9
- CGA-7x5h-rcmr-mg3f
- CGA-j36q-84f7-3pcr
- CGA-q34r-q6fr-hmh5
- CGA-q96j-5244-52x8
- CGA-qfm2-p6g5-pj56
- CGA-qgfr-g7p5-6vhj
- CGA-r5m5-xxf3-ggfj
- CGA-rxj8-9q4p-8pf9
- CGA-vp76-3qrm-mgpw
- CGA-w836-hxpp-h29v
- CGA-xrh2-432f-p6g3