nodejs — security advisory
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
- Affected versions
- Not specified
- Fixed versions
- 22.23.4-r0, 24.22.1-r0
- CVEs
- CVE-2026-105482
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 04:03 UTC · Revision 1
Source evidence
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.
osv:ALPINE-CVE-2026-105482
nodejs
Fixed versions: 22.23.4-r0
nodejs
Fixed versions: 22.23.4-r0
nodejs
Fixed versions: 24.22.1-r0
nodejs
Fixed versions: 24.22.1-r0
Complete source record
{
"id": "8fda0b0ce5c6a16270fffb9db21b768e4d31125a7ca0e15f9d456dd6f061f855",
"url": "https://osv.dev/vulnerability/ALPINE-CVE-2026-105482",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "ALPINE-CVE-2026-105482",
"summary": "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.",
"evidence": "osv:ALPINE-CVE-2026-105482",
"products": [
{
"name": {
"value": "nodejs",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "22.23.4-r0",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "nodejs",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "22.23.4-r0",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "nodejs",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "24.22.1-r0",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "nodejs",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "24.22.1-r0",
"evidence": "/affected/3/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "ALPINE-CVE-2026-105482",
"aliases": [
"ALPINE-CVE-2026-105482"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "22.23.4-r0"
}
]
}
],
"package": {
"name": "nodejs",
"purl": "pkg:apk/alpine/nodejs?arch=source",
"ecosystem": "Alpine:v3.21"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-105482.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "22.23.4-r0"
}
]
}
],
"package": {
"name": "nodejs",
"purl": "pkg:apk/alpine/nodejs?arch=source",
"ecosystem": "Alpine:v3.22"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-105482.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "24.22.1-r0"
}
]
}
],
"package": {
"name": "nodejs",
"purl": "pkg:apk/alpine/nodejs?arch=source",
"ecosystem": "Alpine:v3.23"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-105482.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "24.22.1-r0"
}
]
}
],
"package": {
"name": "nodejs",
"purl": "pkg:apk/alpine/nodejs?arch=source",
"ecosystem": "Alpine:v3.24"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-105482.json"
},
"ecosystem_specific": {}
}
],
"modified": "2026-10-24T09:30:02.680052584Z",
"provider": "osv",
"upstream": [
"CVE-2026-105482"
],
"references": [
"https://security.alpinelinux.org/vuln/CVE-2026-105482"
]
},
"related_cves": [
{
"value": "CVE-2026-105482",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 428925,
"published_at": "2026-10-23T17:17:19.427+00:00"
}