# CVE-2026-18664: Wrong interpretation of ACL ranges

- Severity: High 8.2 (CVSS:4.0, scored by NLnet Labs) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2026-08-26T08:34:22.871Z
- Modified: 2026-09-08T20:02:34.590Z
- Weaknesses: CWE-284, CWE-697
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- NLnet Labs NSD: from 3.0.0 before 4.15.1
- nlnetlabs nsd: from 3.0.0 before 4.15.1

## Every score

- NLnet Labs: CVSS:4.0 8.2 High `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: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://www.nlnetlabs.nl/downloads/nsd/CVE-2026-18664.txt> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-18664](https://www.cve.org/CVERecord?id=CVE-2026-18664), CVE Terms of Use, modified 2026-08-26
- NVD: [CVE-2026-18664](https://nvd.nist.gov/vuln/detail/CVE-2026-18664), Public domain, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-18664 · Whole record: https://cve.day/CVE-2026-18664.json · Rebuilt by cve.day 2026-11-25T22:59:35.349Z
