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

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 33% of CVEs (2026-12-01)
- Published: 2026-01-24T01:25:02.294Z
- Modified: 2026-10-23T16:16:51.507Z
- Weaknesses: CWE-674
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- avahi avahi: < 0.9-rc3; before 0.9; 0.9

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## 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)

## Sources

- CVE List: [CVE-2026-24401](https://www.cve.org/CVERecord?id=CVE-2026-24401), CVE Terms of Use, modified 2026-10-23
- NVD: [CVE-2026-24401](https://nvd.nist.gov/vuln/detail/CVE-2026-24401), Public domain, modified 2026-10-23

---

Page: https://cve.day/CVE-2026-24401 · Whole record: https://cve.day/CVE-2026-24401.json · Rebuilt by cve.day 2026-11-25T22:59:13.154Z
