CVE-2025-59529 Avahi: simple protocol server ignores accepts unlimited connections and logs failures without limit
Local attackers can exhaust system resources by opening unlimited connections to the Avahi daemon, causing a denial of service for mDNS resolution.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-59529?
CVE-2025-59529 is a medium-severity denial of service vulnerability in avahi, published on 18 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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.
Weakness: CWE-400
Which versions are affected by CVE-2025-59529?
It affects 1 product.
Linux distribution packages (40)
avahi Red Hat:hummingbird:1 | All versions | 0:0.9~rc2-8.1.hum1 |
avahi-autoipd Red Hat:hummingbird:1 | All versions | 0:0.9~rc2-8.1.hum1 |
avahi-compat-howl Red Hat:hummingbird:1 | All versions | 0:0.9~rc2-8.1.hum1 |
avahi-compat-howl-devel Red Hat:hummingbird:1 | All versions | 0:0.9~rc2-8.1.hum1 |
avahi-compat-libdns_sd Red Hat:hummingbird:1 | All versions | 0:0.9~rc2-8.1.hum1 |
avahi-compat-libdns_sd-devel Red Hat:hummingbird:1 | All versions | 0:0.9~rc2-8.1.hum1 |
avahi-devel Red Hat:hummingbird:1 | All versions | 0:0.9~rc2-8.1.hum1 |
avahi-dnsconfd Red Hat:hummingbird:1 | All versions | 0:0.9~rc2-8.1.hum1 |
avahi-glib Red Hat:hummingbird:1 | All versions | 0:0.9~rc2-8.1.hum1 |
avahi-glib-devel Red Hat:hummingbird:1 | All versions | 0:0.9~rc2-8.1.hum1 |
avahi-gobject Red Hat:hummingbird:1 | All versions | 0:0.9~rc2-8.1.hum1 |
avahi-gobject-devel Red Hat:hummingbird:1 | All versions | 0:0.9~rc2-8.1.hum1 |
avahi-libs Red Hat:hummingbird:1 | All versions | 0:0.9~rc2-8.1.hum1 |
avahi-qt3 Red Hat:hummingbird:1 | All versions | 0:0.9~rc2-8.1.hum1 |
avahi-qt3-devel Red Hat:hummingbird:1 | All versions | 0:0.9~rc2-8.1.hum1 |
avahi-qt4 Red Hat:hummingbird:1 | All versions | 0:0.9~rc2-8.1.hum1 |
avahi-qt4-devel Red Hat:hummingbird:1 | All versions | 0:0.9~rc2-8.1.hum1 |
avahi-qt5 Red Hat:hummingbird:1 | All versions | 0:0.9~rc2-8.1.hum1 |
avahi-qt5-devel Red Hat:hummingbird:1 | All versions | 0:0.9~rc2-8.1.hum1 |
avahi-sharp Red Hat:hummingbird:1 | All versions | 0:0.9~rc2-8.1.hum1 |
avahi-tools Red Hat:hummingbird:1 | All versions | 0:0.9~rc2-8.1.hum1 |
avahi-ui Red Hat:hummingbird:1 | All versions | 0:0.9~rc2-8.1.hum1 |
avahi-ui-devel Red Hat:hummingbird:1 | All versions | 0:0.9~rc2-8.1.hum1 |
avahi-ui-gtk3 Red Hat:hummingbird:1 | All versions | 0:0.9~rc2-8.1.hum1 |
avahi-ui-sharp Red Hat:hummingbird:1 | All versions | 0:0.9~rc2-8.1.hum1 |
avahi-ui-sharp-devel Red Hat:hummingbird:1 | All versions | 0:0.9~rc2-8.1.hum1 |
avahi-ui-tools Red Hat:hummingbird:1 | All versions | 0:0.9~rc2-8.1.hum1 |
avahi SUSE:Linux Enterprise Micro 5.3 | All versions | 0.8-150400.7.34.1 |
avahi SUSE:Linux Enterprise Micro 5.4 | All versions | 0.8-150400.7.34.1 |
avahi SUSE:Linux Enterprise Micro 5.5 | All versions | 0.8-150400.7.34.1 |
avahi SUSE:Linux Enterprise Module for Basesystem 15 SP7 | All versions | 0.8-150600.15.21.1 |
avahi-glib2 SUSE:Linux Enterprise Module for Basesystem 15 SP7 | All versions | 0.8-150600.15.21.1 |
avahi SUSE:Linux Enterprise Module for Desktop Applications 15 SP7 | All versions | 0.8-150600.15.21.1 |
avahi-glib2 SUSE:Linux Enterprise Module for Desktop Applications 15 SP7 | All versions | 0.8-150600.15.21.1 |
avahi SUSE:Linux Enterprise Module for Package Hub 15 SP7 | All versions | 0.8-150600.15.21.1 |
avahi SUSE:Linux Enterprise Server 16.0 | All versions | 0.8-160000.6.1 |
avahi-glib2 SUSE:Linux Enterprise Server 16.0 | All versions | 0.8-160000.6.1 |
avahi SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 | All versions | 0.6.32-32.45.1 |
avahi SUSE:Linux Enterprise Server for SAP applications 16.0 | All versions | 0.8-160000.6.1 |
avahi-glib2 SUSE:Linux Enterprise Server for SAP applications 16.0 | All versions | 0.8-160000.6.1 |
Products include Avahi Avahi.
How do I fix CVE-2025-59529?
No fix published yet.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2025-59529 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-59529 exists.
Other vulnerabilities in avahi
Sources
Also known as AZL-72851, AZL-72853, BELL-CVE-2025-59529, CLSA-2026-1786360814, DEBIAN-CVE-2025-59529, ECHO-7e9e-9ac7-d59b and 14 more.