DEBIAN-CVE-2026-18664

Source
https://security-tracker.debian.org/tracker/CVE-2026-18664
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-18664.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-18664
Upstream
Published
2026-08-26T09:16:45Z
Modified
2026-09-09T09:00:08Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H CVSS Calculator
Summary
[none]
Details

When ranges are used for access control (i.e. of the form 1.2.3.4-1.2.3.25), because NSD wrongly compares the IP address with the range on little endian systems, IPs that were meant to be allowed may be denied, and, IPs that were meant to be denied access could be allowed. An IPv4 address is compared with IPv4 ranges as unsigned 32 bit numbers directly with the endianness of the host, but the values to compare are in network byte order (big-endian). With IPv6 addresses the comparison is done in 4 times a unsigned 32 bit number comparison, again with the endianness of the host where all values are actually in network bye order.

References

Affected packages

Debian:12 / nsd

Package

Name
nsd
Purl
pkg:deb/debian/nsd?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.6.1-1
4.7.0-1
4.8.0-1
4.9.1-1
4.10.1~rc2-1
4.10.1~rc2-2
4.10.1-1
4.11.0-1
4.11.1-1
4.12.0-1
4.12.0-2
4.13.0-1
4.13.0-2
4.13.0-3
4.13.0-4
4.13.0-5
4.13.0-6
4.14.0-1
4.14.1-1
4.14.2-1
4.14.3-1
4.15.0~rc1-1
4.15.0-1
4.15.1-1
4.15.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-18664.json"

Debian:13 / nsd

Package

Name
nsd
Purl
pkg:deb/debian/nsd?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.12.0-1
4.12.0-2
4.13.0-1
4.13.0-2
4.13.0-3
4.13.0-4
4.13.0-5
4.13.0-6
4.14.0-1
4.14.1-1
4.14.2-1
4.14.3-1
4.15.0~rc1-1
4.15.0-1
4.15.1-1
4.15.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-18664.json"

Debian:14 / nsd

Package

Name
nsd
Purl
pkg:deb/debian/nsd?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
4.15.1-1

Affected versions

4.*
4.12.0-1
4.12.0-2
4.13.0-1
4.13.0-2
4.13.0-3
4.13.0-4
4.13.0-5
4.13.0-6
4.14.0-1
4.14.1-1
4.14.2-1
4.14.3-1
4.15.0~rc1-1
4.15.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-18664.json"