# CVE-2021-3502: A flaw was found in avahi 0.8-5.

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/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.36%, higher than 31% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-05-07T11:46:21.000Z
- Modified: 2026-06-17T04:05:14.577Z
- Weaknesses: CWE-617
- Assigned by: redhat

## Description

A flaw was found in avahi 0.8-5. A reachable assertion is present in avahi_s_host_name_resolver_start function allowing a local attacker to crash the avahi service by requesting hostname resolutions through the avahi socket or dbus methods for invalid hostnames. The highest threat from this vulnerability is to the service availability.

(As written by CVE List.)

## Affected

- avahi: 0.8-5
- avahi avahi: 0.8-5

## Every score

- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1946914> (exploit, issue-tracking, patch, third-party-advisory)
- <https://github.com/lathiat/avahi/issues/338> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2021-3502](https://www.cve.org/CVERecord?id=CVE-2021-3502), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-3502](https://nvd.nist.gov/vuln/detail/CVE-2021-3502), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3502 · Whole record: https://cve.day/CVE-2021-3502.json · Rebuilt by cve.day 2026-11-25T22:58:01.228Z
