Avahi: simple protocol server ignores accepts unlimited connections and logs failures without limit
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 1 fixed, 6 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-400.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| avahi | avahi | up to 0.9-rc5 | — | No fix listed | CNA |
- avahi Vendoravahi Affected up to 0.9-rc5 Fixed in — No fix listed CNA
Remediation
Red Hat 1 advisory
- RHSA-2026:7411 Released 2026-04-10 · Red Hat rating ModerateRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images avahi-0.9~rc2-8.1.hum1@aarch64, avahi-0.9~rc2-8.1.hum1@src, avahi-0.9~rc2-8.1.hum1@x86_64 +47
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 6 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 7 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
| Red Hat Hardened Images | Fixed | RHSA-2026:7411 |
Timeline
- 2026-10-02 Threatist record created from CVE-2025-59529
- 2026-10-23 Title updated · CNA
- 2026-10-23 Affected versions changed · CNA
- 2026-10-23 1 new reference · CNA
References
More Avahi vulnerabilities
- TI-2026-27157 Avahi: Reachable assertion in `transport_flags_from_domain()` via conflicting publish flags crashes avahi-daemon CVSS 3.1MEDIUM 5.5
- TI-2008-04834 The originates_from_local_legacy_unicast_socket function (avahi-core/server.c) in… CVSS 2.0MEDIUM 5.0
- TI-2017-04303 avahi-daemon in Avahi through 0.6.32 and 0.7 inadvertently responds to IPv6 unicast… CVSS 3.1CRITICAL 9.1
- TI-2011-00862 avahi-core/socket.c in avahi-daemon in Avahi before 0.6.29 allows remote attackers to… CVSS 2.0MEDIUM 5.0
- TI-2021-08399 avahi-daemon-check-dns.sh in the Debian avahi package through 0.8-4 is executed as root… CVSS 3.1HIGH 7.8
- TI-2026-19669 Avahi has Uncontrolled Recursion in lookup_handle_cname function CVSS 3.1MEDIUM 6.5
Sources
- CVE-2025-59529 · CVE Program
- CVE-2025-59529 · NVD
- FIRST EPSS
- CVE-2025-59529 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences