Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify NSD instance on little-endian host
-
DeliveryDetermine operator uses hyphen-range ACL syntax
-
ExploitSend DNS AXFR or restricted query from IP in endianness-miscalculated range
-
ExecutionNSD byte-order bug grants unauthorized access
-
ImpactRetrieve restricted zone data or trigger unauthorized zone transfer
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires ALL of the following conditions simultaneously: (1) NSD is configured with ACL rules using hyphen-range IP notation (e.g., 1.2.3.4-1.2.3.25) - sites using only CIDR notation or single-host entries are NOT affected; (2) the NSD instance is running on a little-endian architecture (x86, x86-64, or ARM LE) - big-endian deployments are not affected; and (3) the attacker's source IP falls within the address space that the endianness-swapped comparison erroneously accepts. No authentication is required (CVSS PR:N), and no user interaction is needed. The primary limiting factors are the non-ubiquitous use of range-based ACL syntax (many NSD deployments use CIDR notation) and the requirement for network reachability to the NSD service. Exploitation silently bypasses access control without any error logging from NSD, making detection difficult without external network monitoring. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N) scores 8.2, reflecting network-accessible, unauthenticated exploitation with high confidentiality impact, moderated by the AT:P (Attack Requirements: Present) qualifier that correctly captures the conditional nature of the flaw. Real-world priority depends heavily on deployment context: sites not using range-based ACL notation are entirely unaffected regardless of architecture, which substantially narrows the exposed population compared to the broad CPE wildcard suggest. EPSS data is not available in the provided intelligence, and the CVE is not listed in CISA KEV; no public exploit or POC has been identified. Despite the headline score, the integrity and availability impact are both zero - this is a pure access control bypass affecting confidentiality of DNS zone data. The CVSS 4.0 AT:P modifier appropriately signals that even a well-staffed DNS operations team should audit whether hyphen-range ACL syntax is in active use before treating this as the highest-priority item in their queue, though any operator relying on NSD range ACLs for zone transfer protection should treat remediation as urgent. |
| Exploit ScenarioDerived | An attacker operating from an IP address that should be denied by a configured NSD access control range submits a DNS zone transfer request (AXFR) or other restricted query to the NSD instance. Due to the endianness mismatch on the little-endian server, NSD's range comparison incorrectly evaluates the source IP as falling within the permitted range and grants access. No public exploit or POC is known, but the flaw is a deterministic logic error requiring no memory corruption or heap manipulation - any attacker who can reach the DNS port and whose IP happens to fall in the endianness-swapped permitted range can exploit it passively. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 26, 2026
IP range-based access control in NLnet Labs NSD is silently broken on little-endian systems due to an endianness mismatch in the range comparison logic. Both IPv4 and IPv6 addresses are compared as unsigned 32-bit integers using host byte order, while the actual stored values are in network byte order (big-endian), causing comparisons to produce incorrect results on the dominant x86/x86-64/ARM-LE server platforms. The practical consequence is a bidirectional access control bypass: operators relying on hyphen-range ACL syntax may inadvertently permit unauthorized IP addresses to access restricted DNS operations (such as zone transfers) while simultaneously denying legitimate clients. No public exploit has been identified at time of analysis, but the flaw is fully deterministic and requires no special attacker capability beyond network reachability.
RemediationAI
The primary fix is to apply the vendor-released patch from NLnet Labs, documented at https://www.nlnetlabs.nl/downloads/nsd/CVE-2026-18664.txt. An exact fixed version number is not independently confirmed from available data - verify the specific patched release against the advisory before deploying. As an immediate compensating control, operators should audit NSD ACL configurations for any range notation using hyphens (e.g., 1.2.3.4-1.2.3.25) and replace them with CIDR notation (e.g., 1.2.3.0/24) wherever semantically equivalent - the endianness bug is specific to the range comparison code path and CIDR-based ACLs are unaffected. Note that CIDR notation covers powers-of-two aligned blocks and cannot always express arbitrary ranges, so this substitution may require splitting one range entry into multiple CIDR entries or accepting a slightly different address set. For zone transfer restrictions, supplementing NSD ACLs with firewall-level controls (e.g., iptables/nftables rules restricting port 53 TCP to known secondary nameserver addresses) provides an independent defense layer that does not depend on NSD's range comparison logic.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
NSD (Name Server Daemon) is an open-source authoritative DNS server developed by NLnet Labs, used extensively by ISPs, TLD operators, and enterprises. The affected component is its IP-based access control system, which allows operators to define allowed or denied IP ranges using hyphen notation (e.g., 1.2.3.4-1.2.3.25) for controlling zone transfers, queries, and control channel access. The root cause maps to CWE-284 (Improper Access Control) and is specifically an endianness handling defect: IPv4 addresses are compared as raw unsigned 32-bit integers in host byte order against range boundaries that are stored in network byte order (big-endian). On little-endian architectures - which include x86, x86-64, and ARM LE, representing the vast majority of production servers - byte-swapping the operands produces a numerically different comparison result, causing the range check to pass or fail incorrectly. IPv6 addresses are affected identically, with each of the four 32-bit chunks in the address being miscompared the same way. The CPE cpe:2.3:a:nlnet_labs:nsd:*:*:*:*:*:*:*:* indicates all current NSD versions are affected by this logic error.
Know when Nsd gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Exploitation requires non-default range-based ACL configuration on a little-endian host (AC:H); no authentication needed (PR:N); impact is confidentiality-only with no scope change.
Primary rating from Vendor (NLnet Labs).
CVSS VectorVendor: NLnet Labs
Lifecycle Timeline
2DescriptionCVE.org
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.
Executive ViewAI
NLnet Labs NSD DNS server contains a critical access control vulnerability that creates unintended exposure of sensitive zone data to unauthorized networks while simultaneously blocking legitimate client access on mainstream server hardware. DNS operators relying on IP range-based access restrictions face dual risks of confidentiality breach and service disruption. This affects any organization using NSD's range-based ACL configurations on standard x86, x86-64, or ARM-based DNS infrastructure.
Until vendor patch is released, replace all range-based IP ACLs with explicit IP address lists in NSD configuration; implement upstream network-level access controls (firewall rules, network segmentation) to enforce DNS access restrictions; enable detailed query logging to monitor zone transfer attempts for unauthorized access; maintain engagement with NLnet Labs for patch timeline.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Stack-based buffer overflow in NLnet Labs NSD's zone-file RDATA parser allows an attacker with the ability to supply a c
Loading a crafted zone file into NLnet Labs NSD can overflow a stack buffer and overwrite up to 191 bytes with attacker-
A stack-based buffer overflow in NLnet Labs NSD's parsing of SVCB/HTTPS resource records allows an attacker who can supp
Stack-based buffer overflow in NLnet Labs NSD is triggered when the daemon parses a zone file containing base64 data spl
Remote denial-of-service in NLnet Labs NSD (authoritative DNS name server) version 4.13.0 and later allows an unauthenti
Heap overflow in NLnet Labs NSD allows a malicious or compromised zone primary to corrupt memory on a secondary (slave)
NSD's proxy protocol port fails to re-evaluate BLOCKED access control list entries on the second DNS query sent over a k
NSD authoritative DNS server crashes serve child processes when receiving a crafted DNS message containing exactly 17 DN
Zone-transfer authentication bypass in NLnet Labs NSD allows unauthorized secondaries to obtain full zone contents witho
NSD before 4.1.11 allows remote DNS master servers to cause a denial of service (/tmp disk consumption and slave server
Stack buffer overflow in NSD 4.14.0 (NLnet Labs authoritative DNS server) allows a party able to introduce zone data to
TCP window throttling in NLnet Labs NSD allows any unauthenticated remote attacker to crash individual serve child proce
EUVD-2026-66347
GHSA-fw9f-54cp-j7fc
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB