CVE-2025-59529 Avahi: simple protocol server ignores accepts unlimited connections and logs failures without limit
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
19 packages: 2 fixed, 17 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux avahi(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| cbl-mariner avahi(CBL-Mariner 2.0) | All versions | No fix listed | No fix yet |
| debian/avahi(Debian 12) | = 0.8-10; = 0.8-10+deb12u1; = 0.8-11; = 0.8-12 +7 more | No fix listed | No fix yet |
| debian/avahi(Debian 13) | = 0.8-16; = 0.8-17; = 0.8-18; All versions | No fix listed | No fix yet |
| debian/avahi(Debian 14) | = 0.8-16; = 0.8-17; = 0.8-18; All versions | No fix listed | No fix yet |
| Microsoft cbl2 avahi 0.8-5 | All versions | No fix listed | No fix yet |
| redhat/avahi(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/avahi(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/avahi(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/avahi(Red Hat rhel_els 6) | All versions | No fix listed | No fix yet |
| redhat/avahi(Red Hat rhel_els 7) | All versions | No fix listed | No fix yet |
| redhat/openshift/ose-rhel-coreos-8(Red Hat openshift 4) | All versions | No fix listed | No fix yet |
| redhat/openshift/ose-rhel-coreos-9(Red Hat openshift 4) | All versions | No fix listed | No fix yet |
| ubuntu/avahi(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/avahi(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/avahi(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/avahi(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| avahi | < 0.9; = 0.9-rc1; = <= 0.9-rc5 | 0.9 | Fixed |
| redhat/avahi-main(Red Hat hummingbird 1) | < 0.9~rc2-8.1.hum1 | 0.9~rc2-8.1.hum1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cbl-mariner avahi(CBL-Mariner:2.0) | All versions | No fix listed |
| azure linux avahi(Azure Linux:3.0) | All versions | No fix listed |
| Microsoft cbl2 avahi 0.8-5 | All versions | No fix listed |
| debian/avahi(Debian:12) | All versions | No fix listed |
| debian/avahi(Debian:12) | = 0.8-10 | No fix listed |
| debian/avahi(Debian:12) | = 0.8-10+deb12u1 | No fix listed |
| debian/avahi(Debian:12) | = 0.8-11 | No fix listed |
| debian/avahi(Debian:12) | = 0.8-12 | No fix listed |
| debian/avahi(Debian:12) | = 0.8-13 | No fix listed |
| debian/avahi(Debian:12) | = 0.8-14 | No fix listed |
| debian/avahi(Debian:12) | = 0.8-15 | No fix listed |
| debian/avahi(Debian:12) | = 0.8-16 | No fix listed |
| debian/avahi(Debian:12) | = 0.8-17 | No fix listed |
| debian/avahi(Debian:12) | = 0.8-18 | No fix listed |
| debian/avahi(Debian:13) | All versions | No fix listed |
| debian/avahi(Debian:13) | = 0.8-16 | No fix listed |
| debian/avahi(Debian:13) | = 0.8-17 | No fix listed |
| debian/avahi(Debian:13) | = 0.8-18 | No fix listed |
| debian/avahi(Debian:14) | All versions | No fix listed |
| debian/avahi(Debian:14) | = 0.8-16 | No fix listed |
| debian/avahi(Debian:14) | = 0.8-17 | No fix listed |
| debian/avahi(Debian:14) | = 0.8-18 | No fix listed |
| avahi | = <= 0.9-rc5 | No fix listed |
| ubuntu/avahi(Ubuntu:22.04) | All versions | No fix listed |
| redhat/avahi-main(Red Hat:hummingbird:1) | < 0.9~rc2-8.1.hum1 | 0.9~rc2-8.1.hum1 |
Show 12 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/avahi(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/avahi(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/avahi(Red Hat:rhel_els:7) | All versions | No fix listed |
| redhat/avahi(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/avahi(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-8(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:4) | All versions | No fix listed |
| ubuntu/avahi(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/avahi(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/avahi(Ubuntu:26.10) | All versions | No fix listed |
| avahi | < 0.9 | 0.9 |
| avahi | = 0.9-rc1 | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- Debian Security Tracker CVE-2025-59529 vendor-advisory
- https://github.com/avahi/avahi/security/advisories/GHSA-73wf-3xmj-x82q exploit vendor-advisory
- https://github.com/avahi/avahi/pull/808 issue-tracking patch
- https://github.com/avahi/avahi/pull/975
- https://zeropath.com/blog/avahi-simple-protocol-server-dos-cve-2025-59529 exploit third-party-advisory
- www.openwall.com exploit mailing-list
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:7411 patch vendor-advisory
- Red Hat Bugzilla 2405338 issue-tracking
- nvd.nist.gov
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2025-204402 third-party-advisory