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

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.2 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 4.15.1 (CNA); fix release not confirmed
- Status: published
- Published: 2026-08-26 · Modified: 2026-08-26
- Aliases: UBUNTU-CVE-2026-18664, DEBIAN-CVE-2026-18664, ALPINE-CVE-2026-18664
- Record: https://cvemate.com/vulnerability/CVE-2026-18664 · JSON: https://cvemate.com/vulnerability/CVE-2026-18664/json

## Description

```text
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.
```

## Signals

- CVSS: 9.1 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- EPSS: 0.259%, percentile 18.782%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine nsd (Alpine Linux): ≥ 3.0.0, \< 4.15.1-r0
- debian nsd (Debian): All versions (No fix recorded) \| \< 4.15.1-1
- ubuntu nsd (Ubuntu): All versions (No fix recorded)
- nlnet labs nsd: ≥ 3.0.0, \< 4.15.1
- nlnetlabs nsd: ≥ 3.0.0, \< 4.15.1

## References

- <https://www.nlnetlabs.nl/downloads/nsd/CVE-2026-18664.txt>
- <https://ubuntu.com/security/CVE-2026-18664>
- <https://www.cve.org/CVERecord?id=CVE-2026-18664>
- <https://security-tracker.debian.org/tracker/CVE-2026-18664>
- <https://security.alpinelinux.org/vuln/CVE-2026-18664>

---

Data as of 2026-12-05T04:38:54.239Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
