CVE-2026-18664
8.2high
Wrong interpretation of ACL ranges
- Severity
- 8.2high CVSS:4.0 by NLnet Labs
- Exploit likelihood
- 0.26% (higher than 18% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- NLnet Labs
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| NLnet Labs NSD | from 3.0.0 before 4.15.1 | CVE List |
| nlnetlabs nsd | from 3.0.0 before 4.15.1 | NVD |
All scores
| NLnet Labs | 8.2high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| NVD | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
Classification
References
| https://www.nlnetlabs.nl/downloads/nsd/CVE-2026-18664.txt | vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-18664 changed 2026-08-26 | CVE Terms of Use |
| NVD | CVE-2026-18664 changed 2026-09-08 | Public domain |