CVE-2026-18664
JSON

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 packageVersionsReported by
NLnet Labs NSDfrom 3.0.0 before 4.15.1CVE List
nlnetlabs nsdfrom 3.0.0 before 4.15.1NVD

All scores

NLnet Labs8.2high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
NVD9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Classification

CWE-284CWE-697

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-18664 changed 2026-08-26CVE Terms of Use
NVDCVE-2026-18664 changed 2026-09-08Public domain