Bug 2524296 (CVE-2026-18664) - CVE-2026-18664 nsd: NSD: Access control bypass due to incorrect IP range comparison
Summary: CVE-2026-18664 nsd: NSD: Access control bypass due to incorrect IP range comp...
Keywords:
Status: NEW
Alias: CVE-2026-18664
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2524349 2524350
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-26 08:53 UTC by OSIDB Bzimport
Modified: 2026-08-26 11:39 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-26 08:53:06 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.