cve.bz

CVE-2026-58406 avahi-daemon crashes on receiving resource records where names contain bytes >= 128 (on NetBSD)

6.5 mediumEPSS 0.5%

Medium (6.5) in avahi avahi. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
Avahi is a system which facilitates service discovery on a local network via the mDNS/DNS-SD protocol suite. In 0.9-rc4 and earlier on NetBSD architectures such as x86_64 where char is signed and the ctype guard-page change is present, avahi_domain_hash can pass a negative value to tolower when a resource-record name contains a byte at or above 128. The invalid ctype input reliably raises SIGSEGV, allowing a remote peer on the local network to crash the Avahi daemon. This issue is fixed with 0.9-rc5.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.5% estimated probability of exploitation activity in the next 30 days; 45th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-11-20. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-704 Incorrect Type Conversion or Cast
Published
Modified
Assigned by
GitHub_M (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-58406 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-58406?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-58406?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-58406 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
avahi< 0.9-rc5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu22.04:LTS, 24.04:LTS, 26.04:LTS and 5 moreavahino fix listedUBUNTU-CVE-2026-58406

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated as having Moderate impact for Red Hat products because exploitation is restricted to the adjacent network and results strictly in a denial of service without compromising system confidentiality or integrity. While Avahi is commonly present on workstations and servers to facilitate zero-configuration networking, triggering the crash requires processing a malformed resource record over the local link. In standard enterprise deployments where multicast traffic is not routed broadly across network boundaries, the blast radius is confined to local service discovery availability.

Red Hat's mitigation

If local service discovery via mDNS is not required, stop and mask the Avahi daemon service and its socket:

```

systemctl stop avahi-daemon.socket avahi-daemon.service

systemctl mask avahi-daemon.socket avahi-daemon.service

```

Alternatively, filter incoming mDNS traffic on UDP port 5353 across untrusted interfaces using firewalld:

```

firewall-cmd --permanent --remove-service=mdns

firewall-cmd --reload

```

Warning: Disabling the Avahi service prevents hostname resolution on the .local domain and automatic discovery of network services (such as network printers). Reloading firewalld immediately reapplies active filtering rules and may briefly interrupt active connections.

ProductPackageStateAdvisory
Red Hat Hardened ImagesavahiAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-58406.

References

Check your stackJSON