{"id":"CVE-2026-24401","summary":"Avahi has Uncontrolled Recursion in lookup_handle_cname function","details":"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.","aliases":["GHSA-h4vp-5m8j-f6w3"],"modified":"2026-08-27T08:32:54.028781Z","published":"2026-01-24T01:25:02.294Z","related":["CGA-2vv7-p7cc-jq9r","SUSE-SU-2026:1191-1","SUSE-SU-2026:1441-1","SUSE-SU-2026:1442-1","SUSE-SU-2026:21117-1","SUSE-SU-2026:21127-1","SUSE-SU-2026:22258-1","SUSE-SU-2026:22338-1","SUSE-SU-2026:2311-1","openSUSE-SU-2026:10701-1","openSUSE-SU-2026:21014-1"],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-674"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/24xxx/CVE-2026-24401.json","unresolved_ranges":[{"extracted_events":[{"fixed":"78eab31128479f06e30beb8c1cbf99dd921e2524"}],"source":"AFFECTED_FIELD"}]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/24xxx/CVE-2026-24401.json"},{"type":"ADVISORY","url":"https://github.com/avahi/avahi/security/advisories/GHSA-h4vp-5m8j-f6w3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-24401"},{"type":"REPORT","url":"https://github.com/avahi/avahi/issues/501"},{"type":"FIX","url":"https://github.com/avahi/avahi/commit/78eab31128479f06e30beb8c1cbf99dd921e2524"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/avahi/avahi","events":[{"introduced":"8ee3bd6f7921b489bde14f120187a5becf134d30"},{"fixed":"78eab31128479f06e30beb8c1cbf99dd921e2524"}],"database_specific":{"cpe":["cpe:2.3:a:avahi:avahi:0.9:rc1:*:*:*:*:*:*","cpe:2.3:a:avahi:avahi:0.9:rc2:*:*:*:*:*:*"],"extracted_events":[{"introduced":"0.9-rc1"},{"last_affected":"0.9-rc1"},{"introduced":"0.9-rc2"},{"last_affected":"0.9-rc2"}],"source":["CPE_STRING","REFERENCES"]}}],"versions":["0.9-rc1","0.9-rc2","v0.9-rc2","v0.9-rc1"],"database_specific":{"vanir_signatures_modified":"2026-08-27T08:32:54Z","vanir_signatures":[{"source":"https://github.com/avahi/avahi/commit/78eab31128479f06e30beb8c1cbf99dd921e2524","target":{"file":"avahi-core/browse.c","function":"lookup_handle_cname"},"deprecated":false,"digest":{"length":724,"function_hash":"332737092712039648650165003545039931030"},"id":"CVE-2026-24401-173bd870","signature_type":"Function","signature_version":"v1"},{"deprecated":false,"digest":{"line_hashes":["151505114680226689991009913718028681377","156292945866089260300898979064104515909","102594860459434896414600153339778576587","271740318055916461206324138873014224655","212433022854709265375621083468558640536","15743829998157019946019777875182439863"],"threshold":0.9},"id":"CVE-2026-24401-2058ab72","signature_type":"Line","signature_version":"v1","source":"https://github.com/avahi/avahi/commit/78eab31128479f06e30beb8c1cbf99dd921e2524","target":{"file":"avahi-core/browse.c"}}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-24401.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}