cve.bz

CVE-2026-18664 nlnetlabs nsd: Improper Access Control

8.2 highEPSS 0.4%

High (8.2) in nlnetlabs nsd. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

8.2 high
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

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 39th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-08-26. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-284 Improper Access Control
CWE-697 Incorrect Comparison
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-18664 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-18664?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-18664?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-18664 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
NLnet Labs NSDfrom 3.0.0 before 4.15.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13nsdno fix listedDEBIAN-CVE-2026-18664
Debian14nsd4.15.1-1DEBIAN-CVE-2026-18664
Ubuntu26.10, Pro:16.04:LTS, Pro:18.04:LTS and 4 morensdno fix listedUBUNTU-CVE-2026-18664

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is evaluated as having an Important severity because unauthenticated remote attackers can bypass configured access control policies on common little-endian platforms (such as x86_64 and aarch64), granting unauthorized network hosts access to restricted DNS operations like zone transfers. Although exploitation does not lead to remote code execution, it directly compromises confidentiality by permitting unintended zone data retrieval. The issue specifically requires administrators to configure hyphen-separated IP ranges in access control lists rather than discrete IP addresses. NSD is not distributed as part of core Red Hat Enterprise Linux, though it is packaged in Fedora and EPEL.

Red Hat's mitigation

To mitigate this issue, restrict network access to the NSD service using external firewall rules. Configure the firewall to only allow connections from trusted IP addresses or networks that are authorized to access the NSD server, thereby preventing unauthorized access attempts before they reach the vulnerable NSD access control logic. Ensure that any changes to firewall rules are thoroughly tested to avoid disrupting legitimate service.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-18664.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-284 (17), CWE-697 (29).

References

Check your stackJSON