CVE-2026-24401: Avahi has Uncontrolled Recursion in lookup_handle_cname function
Avahi is a system which facilitates service discovery on a local network via the mDNS/DNS-SD protocol suite. In versions 0.9rc2 and below, avahi-daemon can be crashed via a segmentation fault by sending an unsolicited mDNS response containing a recursive CNAME record, where the alias and canonical name point to the same domain (e.g., "h.local" as a CNAME for "h.local"). This causes unbounded recursion in the lookuphandlecname function, leading to stack exhaustion. The vulnerability affects record browsers where AVAHILOOKUPUSEMULTICAST is set explicitly, which includes record browsers created by resolvers used by nss-mdns. This issue is patched in commit 78eab31128479f06e30beb8c1cbf99dd921e2524.
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2026-24401?
CVE-2026-24401 has been classified as a high severity vulnerability due to its potential to crash the avahi-daemon.
How do I fix CVE-2026-24401?
To mitigate CVE-2026-24401, upgrade to a version of Avahi beyond 0.9rc2.
What causes the CVE-2026-24401 vulnerability?
CVE-2026-24401 is caused by uncontrolled recursion in the lookup_handle_cname function of the avahi-daemon.
Which versions of Avahi are affected by CVE-2026-24401?
Avahi versions 0.9rc2 and below are affected by CVE-2026-24401.
What impact does CVE-2026-24401 have on systems running Avahi?
CVE-2026-24401 can lead to a segmentation fault, causing the avahi-daemon to crash.