CVE-2025-59529
MediumCVSS 5.5Exploitation Probability (EPSS)
Low risk7th percentile - higher than 7% of all known CVEs
Summary
A vulnerability in Avahi (up to and including 0.9-rc5) allows the simple protocol server to ignore the documented client limit (CLIENTS_MAX) and accept unlimited connections. This enables unprivileged local users to exhaust daemon memory and file descriptors, causing a local denial of service (DoS). No official patched version is available, but a candidate fix exists in pull request 808.
Risk Assessment
A local attacker can cause system-wide unavailability of mDNS/DNS-SD name resolution and increased system load due to error logging. This may disrupt services relying on nss-mdns and .local name resolution.
Recommendation
Apply available workarounds: change permissions of the Unix socket /run/avahi-daemon/socket after daemon startup or use additional access restrictions like SELinux to prevent unwanted tools from accessing the socket. Monitor pull request 808 for an official patch.
Other vulnerabilities in Avahi
See all- CVE-2026-34933Medium
Avahi, a system for service discovery on a local network via mDNS/DNS-SD, prior to version 0.9-rc4 is vulnerable to a DoS attack. Any unprivileged local user can send a single D-Bus method call with conflicting publish flags, causing avahi-daemon to crash.
- CVE-2026-24401Medium
Avahi in versions 0.9rc2 and below allows crashing avahi-daemon via a segmentation fault by sending an unsolicited mDNS response containing a recursive CNAME record where the alias and canonical name point to the same domain. This causes unbounded recursion in lookup_handle_cname and stack exhaustion. The vulnerability affects record browsers with AVAHI_LOOKUP_USE_MULTICAST explicitly set, including those created by resolvers used by nss-mdns.
- CVE-2023-38473Medium
A vulnerability exists in Avahi where a reachable assertion occurs in the avahi_alternative_host_name() function. Malformed input can cause the Avahi daemon to abort.
- CVE-2023-38472Medium
A vulnerability exists in Avahi where a reachable assertion occurs in the avahi_rdata_parse() function. Crafted DNS records can cause the daemon to abort.
- CVE-2023-38471Medium
A vulnerability was found in Avahi. A reachable assertion exists in the dbus_set_host_name function.
- CVE-2023-38470Medium
A vulnerability exists in Avahi where a reachable assertion occurs in the avahi_escape_label() function. Malformed input can cause the daemon to abort.
- CVE-2023-38469Medium
A vulnerability exists in Avahi where a reachable assertion occurs in avahi_dns_packet_append_record. Crafted DNS packets can cause the daemon to abort.
Original NVD description (English source)
Avahi is a system which facilitates service discovery on a local network via the mDNS/DNS-SD protocol suite. In versions up to and including 0.9-rc5, the simple protocol server ignores the documented client limit and accepts unlimited connections, allowing for easy local DoS. Although `CLIENTS_MAX` is defined, `server_work()` unconditionally `accept()`s and `client_new()` always appends the new client and increments `n_clients`. There is no check against the limit. When client cannot be accepted as a result of maximal socket number of avahi-daemon, it logs unconditionally error per each connection. Unprivileged local users can exhaust daemon memory and file descriptors, causing a denial of service system-wide for mDNS/DNS-SD. Exhausting local file descriptors causes increased system load caused by logging errors of each of request. Overloading prevents glibc calls using nss-mdns plugins to resolve `*.local.` names and link-local addresses. As of time of publication, no known patched versions are available, but a candidate fix is available in pull request 808, and some workarounds are available. Simple clients are offered for nss-mdns package functionality. It is not possible to disable the unix socket `/run/avahi-daemon/socket`, but resolution requests received via DBus are not affected directly. Tools avahi-resolve, avahi-resolve-address and avahi-resolve-host-name are not affected, they use DBus interface. It is possible to change permissions of unix socket after avahi-daemon is started. But avahi-daemon does not provide any configuration for it. Additional access restrictions like SELinux can also prevent unwanted tools to access the socket and keep resolution working for trusted users.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

