# CVE-2025-59529: Avahi: simple protocol server ignores accepts unlimited connections and logs failures without limit

- Severity: Medium 5.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2025-12-18T20:25:31.499Z
- Modified: 2026-10-23T20:17:19.563Z
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- avahi avahi: <= 0.9-rc5; before 0.9; 0.9

## References

- <https://github.com/avahi/avahi/security/advisories/GHSA-73wf-3xmj-x82q> (exploit, vendor-advisory)
- <https://zeropath.com/blog/avahi-simple-protocol-server-dos-cve-2025-59529> (exploit, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2025/12/19/1> (exploit, mailing-list)
- <https://github.com/avahi/avahi/pull/808> (issue-tracking, patch)
- <https://github.com/avahi/avahi/pull/975>

## Sources

- CVE List: [CVE-2025-59529](https://www.cve.org/CVERecord?id=CVE-2025-59529), CVE Terms of Use, modified 2026-10-23
- NVD: [CVE-2025-59529](https://nvd.nist.gov/vuln/detail/CVE-2025-59529), Public domain, modified 2026-10-23

---

Page: https://cve.day/CVE-2025-59529 · Whole record: https://cve.day/CVE-2025-59529.json · Rebuilt by cve.day 2026-11-25T22:59:09.710Z
