p PatchFirst

CVE-2025-59529

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

CVSS 5.5 · Medium · EPSS 0.2%

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • avahiNo fix published
  • avahi Debian 12No fix published
  • avahi Debian 13No fix published
  • avahi Debian 14No fix published
  • and 9 more

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="avahi"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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
Updated

Fixes in distributions

Stack: system

Affected products and versions

  • avahi

    Versions
    • <= 0.9-rc5: Affected

    No fix published

  • avahi Debian 12

    Versions
    • 0.8-10
    • 0.8-10+deb12u1
    • 0.8-11
    • 0.8-12
    • 0.8-13
    • 0.8-14
    All versions (10)
    • 0.8-15
    • 0.8-16
    • 0.8-17
    • 0.8-18
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • avahi Debian 13

    Versions
    • 0.8-16
    • 0.8-17
    • 0.8-18
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • avahi Debian 14

    Versions
    • 0.8-16
    • 0.8-17
    • 0.8-18
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • avahi Ubuntu Pro 14.04 LTS

    Versions
    • 0.6.31-2ubuntu4
    • 0.6.31-2ubuntu5
    • 0.6.31-3ubuntu1
    • 0.6.31-4ubuntu1
    • 0.6.31-4ubuntu1.1
    • 0.6.31-4ubuntu1.2
    All versions (12)
    • 0.6.31-4ubuntu1.3
    • 0.6.31-4ubuntu1.3+esm1
    • 0.6.31-4ubuntu1.3+esm2
    • 0.6.31-4ubuntu1.3+esm3
    • 0.6.31-4ubuntu1.3+esm4
    • 0.6.31-4ubuntu1.3+esm5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • avahi Ubuntu Pro 16.04 LTS

    Versions
    • 0.6.31-4ubuntu4
    • 0.6.32~rc+dfsg-1ubuntu2
    • 0.6.32~rc+dfsg-1ubuntu2.1
    • 0.6.32~rc+dfsg-1ubuntu2.2
    • 0.6.32~rc+dfsg-1ubuntu2.3
    • 0.6.32~rc+dfsg-1ubuntu2.3+esm1
    All versions (10)
    • 0.6.32~rc+dfsg-1ubuntu2.3+esm2
    • 0.6.32~rc+dfsg-1ubuntu2.3+esm3
    • 0.6.32~rc+dfsg-1ubuntu2.3+esm4
    • 0.6.32~rc+dfsg-1ubuntu2.3+esm5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • avahi Ubuntu Pro 18.04 LTS

    Versions
    • 0.6.32-1ubuntu1
    • 0.7-3ubuntu1
    • 0.7-3ubuntu2
    • 0.7-3.1ubuntu1
    • 0.7-3.1ubuntu1.1
    • 0.7-3.1ubuntu1.2
    All versions (11)
    • 0.7-3.1ubuntu1.3
    • 0.7-3.1ubuntu1.3+esm1
    • 0.7-3.1ubuntu1.3+esm2
    • 0.7-3.1ubuntu1.3+esm3
    • 0.7-3.1ubuntu1.3+esm4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • avahi Ubuntu Pro 20.04 LTS

    Versions
    • 0.7-4ubuntu5
    • 0.7-4ubuntu6
    • 0.7-4ubuntu7
    • 0.7-4ubuntu7.1
    • 0.7-4ubuntu7.2
    • 0.7-4ubuntu7.3
    All versions (8)
    • 0.7-4ubuntu7.3+esm1
    • 0.7-4ubuntu7.3+esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • avahi Ubuntu 22.04 LTS

    Versions
    • 0.8-5ubuntu4
    • 0.8-5ubuntu5
    • 0.8-5ubuntu5.1
    • 0.8-5ubuntu5.2
    • 0.8-5ubuntu5.3
    • 0.8-5ubuntu5.4
    All versions (7)
    • 0.8-5ubuntu5.5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • avahi Ubuntu 24.04 LTS

    Versions
    • 0.8-10ubuntu1
    • 0.8-13ubuntu1
    • 0.8-13ubuntu2
    • 0.8-13ubuntu4
    • 0.8-13ubuntu5
    • 0.8-13ubuntu6
    All versions (8)
    • 0.8-13ubuntu6.1
    • 0.8-13ubuntu6.2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • avahi Ubuntu 25.10

    Versions
    • 0.8-16ubuntu2
    • 0.8-16ubuntu3
    • 0.8-16ubuntu3.1
    • 0.8-16ubuntu3.2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • avahi Ubuntu 26.10

    Versions
    • 0.8-18ubuntu1
    • 0.8-18ubuntu1.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • avahi Ubuntu 26.04 LTS

    Versions
    • 0.8-16ubuntu3
    • 0.8-17ubuntu1
    • 0.8-17ubuntu2
    • 0.8-18ubuntu1
    • 0.8-18ubuntu1.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →