CVE-2026-24401 Avahi has Uncontrolled Recursion in lookup_handle_cname function
MediumCVSS 6.5
EPSS 0.37%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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 lookup_handle_cname function, leading to stack exhaustion. The vulnerability affects record browsers where AVAHI_LOOKUP_USE_MULTICAST 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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| avahi | = < 0.9-rc3 | No fix listed |
| debian/avahi(Debian:12) | All versions | No fix listed |
| debian/avahi(Debian:12) | = 0.8-10 | No fix listed |
| debian/avahi(Debian:12) | = 0.8-10+deb12u1 | No fix listed |
| debian/avahi(Debian:12) | = 0.8-11 | No fix listed |
| debian/avahi(Debian:12) | = 0.8-12 | No fix listed |
| debian/avahi(Debian:12) | = 0.8-13 | No fix listed |
| debian/avahi(Debian:12) | = 0.8-14 | No fix listed |
| debian/avahi(Debian:12) | = 0.8-15 | No fix listed |
| debian/avahi(Debian:12) | = 0.8-16 | No fix listed |
| debian/avahi(Debian:12) | = 0.8-17 | No fix listed |
| debian/avahi(Debian:12) | = 0.8-18 | No fix listed |
| debian/avahi(Debian:13) | All versions | No fix listed |
| debian/avahi(Debian:13) | = 0.8-16 | No fix listed |
| debian/avahi(Debian:13) | = 0.8-17 | No fix listed |
| debian/avahi(Debian:13) | = 0.8-18 | No fix listed |
| debian/avahi(Debian:14) | < 0.8-18 | 0.8-18 |
| debian/avahi(Debian:14) | = 0.8-16 | No fix listed |
| debian/avahi(Debian:14) | = 0.8-17 | No fix listed |
| ubuntu/avahi(Ubuntu:22.04) | < 0.8-5ubuntu5.5 | 0.8-5ubuntu5.5 |
| redhat/avahi-main(Red Hat:hummingbird:1) | < 0.9~rc4-0.1.hum1 | 0.9~rc4-0.1.hum1 |
| redhat/avahi(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/avahi(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/avahi(Red Hat:rhel_els:7) | All versions | No fix listed |
| redhat/avahi(Red Hat:enterprise_linux:8) | All versions | No fix listed |
Show 8 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/avahi(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-8(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:4) | All versions | No fix listed |
| alpine/avahi(Alpine:v3.24) | < 0.8-r25 | 0.8-r25 |
| ubuntu/avahi(Ubuntu:24.04) | < 0.8-13ubuntu6.2 | 0.8-13ubuntu6.2 |
| avahi | < 0.9 | 0.9 |
| avahi | = 0.9-rc1 | No fix listed |
| avahi | = 0.9-rc2 | No fix listed |
References
- https://github.com/avahi/avahi/security/advisories/GHSA-h4vp-5m8j-f6w3 vendor-advisory
- https://github.com/avahi/avahi/issues/501 issue-tracking patch
- https://github.com/avahi/avahi/commit/78eab31128479f06e30beb8c1cbf99dd921e2524 patch
- Debian Security Tracker CVE-2026-24401 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8269-1 vendor-advisory
- www.cve.org
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:11316 patch vendor-advisory
- Red Hat Bugzilla 2432534 issue-tracking
- nvd.nist.gov
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking