CVE-2026-18664
Wrong interpretation of ACL ranges
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.
INFO
Published Date :
Aug. 26, 2026, 8:34 a.m.
Last Modified :
Aug. 26, 2026, 8:37 a.m.
Remotely Exploit :
No
Source :
NLnet Labs
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 4.0 | HIGH | 206fc3a0-e175-490b-9eaa-a5738056c9f6 |
Solution
- Update the IP address comparison logic.
- Ensure proper handling of byte order.
- Test thoroughly on little-endian systems.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-18664 vulnerability anywhere in the article.