CVE-2026-24401: Avahi has Uncontrolled Recursion in lookup_handle_cname function

Published Jan 24, 2026
·
Updated

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, which is part of version 0.9-rc3.

Affected Software

12 affected componentsFixes available
Avahi Avahi<0.9rc2
debian/avahi<=0.8-5+deb11u2, <=0.8-5+deb11u3, <=0.8-10+deb12u1, <=0.8-16
0.8-18
Avahi Avahi<0.9
Avahi Avahi=0.9-rc1
Avahi Avahi=0.9-rc2
ubuntu/avahi<0.6.31-4ubuntu1.3+esm5
0.6.31-4ubuntu1.3+esm5
ubuntu/avahi<0.6.32~rc+dfsg-1ubuntu2.3+esm5
0.6.32~rc+dfsg-1ubuntu2.3+esm5
ubuntu/avahi<0.7-3.1ubuntu1.3+esm4
0.7-3.1ubuntu1.3+esm4
ubuntu/avahi<0.7-4ubuntu7.3+esm2
0.7-4ubuntu7.3+esm2
ubuntu/avahi<0.8-5ubuntu5.5
0.8-5ubuntu5.5
ubuntu/avahi<0.8-13ubuntu6.2
0.8-13ubuntu6.2
ubuntu/avahi<0.8-16ubuntu3.2
0.8-16ubuntu3.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/avahi to a version that resolves this vulnerability.

    Fixed in 0.8-18
  2. Upgrade

    Upgrade ubuntu/avahi to a version that resolves this vulnerability.

    Fixed in 0.6.31-4ubuntu1.3+esm5
  3. Upgrade

    Upgrade ubuntu/avahi to a version that resolves this vulnerability.

    Fixed in 0.6.32~rc+dfsg-1ubuntu2.3+esm5
  4. Upgrade

    Upgrade ubuntu/avahi to a version that resolves this vulnerability.

    Fixed in 0.7-3.1ubuntu1.3+esm4
  5. Upgrade

    Upgrade ubuntu/avahi to a version that resolves this vulnerability.

    Fixed in 0.7-4ubuntu7.3+esm2
  6. Upgrade

    Upgrade ubuntu/avahi to a version that resolves this vulnerability.

    Fixed in 0.8-5ubuntu5.5
  7. Upgrade

    Upgrade ubuntu/avahi to a version that resolves this vulnerability.

    Fixed in 0.8-13ubuntu6.2
  8. Upgrade

    Upgrade ubuntu/avahi to a version that resolves this vulnerability.

    Fixed in 0.8-16ubuntu3.2
  9. Upgrade

    Upgrade Avahi to a version that resolves this vulnerability.

    Fixed in 0.9-rc3Patch 78eab31128479f06e30beb8c1cbf99dd921e2524

Event History

Jan 24, 2026
CVE Published
via MITRE·01:25 AM
Data Sourced
via MITRE·01:25 AM
DescriptionSeverityWeakness
Data Sourced
via OSV·02:15 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·02:15 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

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.

2

How do I fix CVE-2026-24401?

To mitigate CVE-2026-24401, upgrade to a version of Avahi beyond 0.9rc2.

3

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.

4

Which versions of Avahi are affected by CVE-2026-24401?

Avahi versions 0.9rc2 and below are affected by CVE-2026-24401.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203