Critical severity · published Aug 26, 2026
CVE-2026-18664
Wrong interpretation of ACL ranges
9.1
CVSS
0.4%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 38% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
NS
NSD · NLnet Labs
3.0.0 before 4.15.1 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-18664
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-18664
Vendor Advisory
https://www.nlnetlabs.nl/downloads/nsd/CVE-2026-18664.txt
More from NSD
8.8
CVE-2026-12244
Heap overflow and crash with crafted SVCB RR
8.7
CVE-2026-101341
Stack overwrite from specially formatted TXT-DATA RDATA field
8.7
CVE-2026-101339
Stack overwrite from a specially crafted and formatted HIP RR
8.7
CVE-2026-101338
Stack overwrite from a specially crafted and formatted SVCB or HTTPS RR
8.7
CVE-2026-101337
Stack overwrite from specially formatted base64 RDATA field
