bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2025-59529

5.5medium

avahi0.8in 4 of 4 releases

Reach avahi · 8 builds in 4 of 4 releases

full reviewcross-check✓ a member decided

Description · NVD

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.

Published 2025-12-18NVD

CVSS 3.1Local · low privileges · no user interaction

How it is reached

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None

What it costs

Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

References 5
Review Av26.10.0x86_64Exposed by defaultAccepted by a member, 2026-11-18. The vulnerable simple-protocol server code is present unmodified in this build: output/build/avahi-0.8/avahi-daemon/simple-protocol.c defines CLIENTS_MAX (line 60) but server_work() accepts unconditionally (line 446) and client_new() always appends and increments n_clients (line 148); none of the 20 applied patches touch this logic (0003 only adds HUP handling to client_work).This build follows it · open the review →

Members of Kernel Kit decide. Sign in if you are one.