{"id":"CVE-2025-59529","aliases":["CVE-2025-59529"],"related":[],"kind":"vulnerability","state":"published","title":"Avahi: simple protocol server ignores accepts unlimited connections and logs failures without limit","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Avahi es un sistema que facilita el descubrimiento de servicios en una red local a través de la suite de protocolos mDNS/DNS-SD. En versiones hasta la 0.9-rc2 inclusive, el servidor de protocolo simple ignora el límite de clientes documentado y acepta conexiones ilimitadas, permitiendo un DoS local fácil. Aunque 'CLIENTS_MAX' está definido, 'server_work()' 'accept()'a incondicionalmente y 'client_new()' siempre añade el nuevo cliente e incrementa 'n_clients'. No hay una comprobación contra el límite. Cuando un cliente no puede ser aceptado como resultado del número máximo de sockets de avahi-daemon, registra incondicionalmente un error por cada conexión. Usuarios locales sin privilegios pueden agotar la memoria del demonio y los descriptores de archivo, causando una denegación de servicio a nivel de sistema para mDNS/DNS-SD. Agotar los descriptores de archivo locales causa una carga del sistema aumentada debido al registro de errores de cada solicitud. La sobrecarga impide las llamadas a glibc que utilizan los plugins nss-mdns para resolver nombres '*.local.' y direcciones link-local. A la fecha de publicación, no hay versiones parcheadas conocidas disponibles, pero una solución candidata está disponible en la solicitud de extracción 808, y algunas soluciones alternativas están disponibles. Se ofrecen clientes simples para la funcionalidad del paquete nss-mdns. No es posible deshabilitar el socket unix '/run/avahi-daemon/socket', pero las solicitudes de resolución recibidas a través de DBus no se ven afectadas directamente. Las herramientas avahi-resolve, avahi-resolve-address y avahi-resolve-host-name no se ven afectadas, utilizan la interfaz DBus. Es posible cambiar los permisos del socket unix después de que avahi-daemon se inicie. Pero avahi-daemon no proporciona ninguna configuración para ello. Restricciones de acceso adicionales como SELinux también pueden evitar que herramientas no deseadas accedan al socket y mantener la resolución funcionando para usuarios de confianza.","source":"nvd"}],"published":"2025-12-18T20:25:31.499Z","modified":"2026-10-23T20:17:19.563Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"version":"<= 0.9-rc5","status":"affected"}],"vendor":"avahi","product":"avahi","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"0.9"},{"status":"affected","version":"0.9"}],"vendor":"avahi","product":"avahi","cpe":"cpe:2.3:a:avahi:avahi:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/avahi/avahi/security/advisories/GHSA-73wf-3xmj-x82q","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/avahi/avahi/pull/808","tags":["issue-tracking","patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/avahi/avahi/pull/975","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://zeropath.com/blog/avahi-simple-protocol-server-dos-cve-2025-59529","tags":["exploit","third-party-advisory","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2025/12/19/1","tags":["exploit","mailing-list"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-12-18T20:41:46.401Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-59529","url":"https://www.cve.org/CVERecord?id=CVE-2025-59529","licence":"CVE Terms of Use","modified":"2026-10-23T19:33:17.866Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-59529","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59529","licence":"Public domain","modified":"2026-10-23T20:17:19.563Z"}],"updatedAt":"2026-11-25T22:59:09.710Z","epss":{"score":0.00238,"percentile":0.15972,"date":"2026-12-01T12:00:22.000Z"}}