CVE-2025-59529 Details
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.
A denial-of-service vulnerability has been identified in the Avahi service discovery system, specifically in versions through 0.9-rc2. The issue arises in the simple protocol server, which disregards the defined client limit and allows unlimited connections. This flaw enables unprivileged local users to exhaust the daemon's memory and file descriptors, causing a system-wide denial of service for mDNS and DNS-SD. The vulnerability occurs because the server accepts connections without checking against the maximum limit, leading to resource exhaustion and disrupted name resolution for .local addresses.
While no official patch is available yet, a candidate fix has been proposed in pull request #808. In the meantime, users can apply additional access restrictions, such as SELinux policies, to prevent unwanted tools from accessing the Avahi socket, or manually change the socket's permissions after the daemon has started.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Dec 18, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2025/12/19/1 | CVE | ExploitMailing List |
| https://github.com/avahi/avahi/pull/808 | [email protected] | Issue TrackingPatch |
| https://github.com/avahi/avahi/pull/975 | [email protected] | |
| https://github.com/avahi/avahi/security/advisories/GHSA-73wf-3xmj-x82q | [email protected] | ExploitVendor Advisory |
| https://zeropath.com/blog/avahi-simple-protocol-server-dos-cve-2025-59529 | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| avahi avahi | < 0.9 0.9 rc1 |
CPE
Remediation
| |
Change History
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 23, 2026 | CVE Modified | [email protected] |
| Oct 23, 2026 | CVE Modified | [email protected] |
| Oct 23, 2026 | CVE Modified | CVE |
| Oct 13, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 16, 2026 | Initial Analysis | [email protected] |
| Dec 19, 2025 | CVE Modified | CVE |
| Dec 18, 2025 | New CVE Received | [email protected] |