CVEfocus › CVE database › CVE-2026-18664

CVE-2026-18664Wrong interpretation of ACL ranges

CVSS 8.2 HighEPSS 0.4% (higher than 30% of CVEs)Published 2026-08-26Updated 2026-08-26Assigner: NLnet Labs

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.

CWE-284CWE-697

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
9Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10nsdFix pendingUBUNTU-CVE-2026-18664
Ubuntu 26.04nsdFix pendingUBUNTU-CVE-2026-18664
Ubuntu 24.04nsdFix pendingUBUNTU-CVE-2026-18664
Ubuntu 22.04nsdFix pendingUBUNTU-CVE-2026-18664
Ubuntu 20.04nsdFix pendingUBUNTU-CVE-2026-18664
Ubuntu 18.04nsdFix pendingUBUNTU-CVE-2026-18664
Ubuntu 16.04nsdFix pendingUBUNTU-CVE-2026-18664
Debian 14nsdFixed4.15.1-1DEBIAN-CVE-2026-18664
Debian 13nsdFix pendingDEBIAN-CVE-2026-18664
Debian 12nsdFix pendingDEBIAN-CVE-2026-18664

What the vendor says

As published in the CVE record by NLnet Labs, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: This issue is fixed in 4.15.1 and all later versions.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.