CVE-2026-18664 Affecting nsd package, versions <4.15.1-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.32% (24th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-NSD-19425057
  • published29 Aug 2026
  • disclosed26 Aug 2026

Introduced: 26 Aug 2026

NewCVE-2026-18664  (opens in a new tab)

How to fix?

Upgrade Debian:unstable nsd to version 4.15.1-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nsd package and not the nsd package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.