Skip to main content

Avahi EUVDEUVD-2026-131713

| CVE-2026-58406 MEDIUM
Incorrect Type Conversion or Cast (CWE-704)
2026-11-20 security-advisories@github.com
6.5
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach avahi-daemon over local mDNS segment
  2. Exploit
    Multicast A record with name byte ≥128
  3. Execution
    tolower() receives negative value on NetBSD
  4. Impact
    avahi-daemon crashes (SIGSEGV, service DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Correct type conversion
Exploitation Conditions

Exploitation requires the target to be NetBSD (or equivalent) on an architecture where char is signed (e.g. x86_64) AND built with the NetBSD ctype/tolower/toupper guard-page change (NetBSD commit f1ab8723) present; only then does an out-of-range ctype input reliably fault. The attacker must be a peer on the same local network able to send mDNS multicast to 224.0.0.251:5353, and the malicious resource-record name must contain at least one byte >= 128 (the high-bit byte is what produces the negative tolower argument). Limiting factors: no authentication (PR:N) and no user interaction (UI:N) are needed, but reachability is confined to the local/adjacent network (AV:A) and, critically, the flaw does NOT trigger on standard Linux/glibc or other platforms lacking the signed-char-plus-guard-page combination, so default Linux Avahi deployments are not affected. Impact is limited to a daemon crash (availability only); no code execution, data disclosure, or integrity impact is indicated.

Impact

Signals point to a moderate, platform-constrained availability issue rather than a broad emergency. The provided CVSS 3.1 vector (AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, base 6.5) describes an unauthenticated, low-complexity attack from the local (adjacent) network with availability-only impact and no confidentiality or integrity loss. The vuln.today decision label is this_month, not act_now or emergency, consistent with a remotely-triggerable but non-code-execution crash. No KEV status is provided (so not confirmed actively exploited) and no EPSS score is provided in the input, so exploitation probability cannot be quantified here. The crucial nuance is scope: per the GHSA advisory and description, the SIGSEGV only occurs on NetBSD on architectures where char is signed (e.g. x86_64) AND the NetBSD ctype guard-page change is present; on typical Linux/glibc deployments the same records do not crash the daemon, so a raw reading of the 6.5 score overstates risk for the majority of Avahi installs. Net: a real but targeted priority for NetBSD-based Avahi operators, and low practical risk elsewhere.

Exploit ScenarioDerived

An attacker already on the same local network segment as a NetBSD host running avahi-daemon (<=0.9-rc4) multicasts a single crafted mDNS response to 224.0.0.251:5353 containing a resource-record name with a byte >= 128 (e.g. '\xd0\xb8.local'). When the daemon hashes the name, tolower() receives a negative value and, because of NetBSD's ctype guard pages, the process immediately crashes with SIGSEGV, denying service discovery. A public proof-of-concept reference exists (a scapy one-liner published in the GHSA advisory with a reproduced backtrace); it is not verified as packaged working exploit code, but it demonstrably triggers the crash. The AV:A/AC:L/PR:N vector means no authentication and only local-network reachability are needed.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 20, 2026

A single crafted multicast DNS response can crash the avahi-daemon in Avahi 0.9-rc4 and earlier when it runs on NetBSD builds where char is signed (e.g. x86_64) and the NetBSD ctype guard-page change is present. An unauthenticated peer on the same local network sends an mDNS response advertising a resource record whose name contains a byte at or above 128, which is passed as a negative value to tolower() inside avahi_domain_hash and triggers a SIGSEGV at the ctype table guard page; the only impact is daemon termination (availability), with no confidentiality or integrity effect. Exploitation is constrained to that platform combination and does not reproduce on standard Linux/glibc deployments; vendor-supplied fix commits and a public GitHub advisory are available, and the issue is fixed in 0.9-rc5. It is not listed in CISA KEV and no confirmed working exploit code was identified at time of analysis, though the advisory publishes a scapy snippet that reproduces the crash; EPSS was not provided in the source data.

RemediationAI

Vendor-released patch: upgrade Avahi to 0.9-rc5 or later, or backport the upstream fix from https://github.com/avahi/avahi/pull/940 (commits 7730ce3f02a6a50f059934670f16ff636711aac4 and 92b659633ef0019f3202f00c9573cbfcf010630c), which casts the arguments passed to tolower/toupper/isdigit/isblank/isprint to unsigned char in avahi-common/alternative.c, avahi-common/domain.c, avahi-core/util.c, avahi-daemon/ini-file-parser.c and avahi-utils/avahi-browse.c. Prioritise NetBSD hosts on signed-char architectures such as x86_64 that carry the NetBSD ctype guard-page change, since those are the only systems where a single unauthenticated multicast DNS response advertising a record whose name contains a byte >= 128 reliably terminates the daemon; deployments on Linux/glibc and other environments lacking that combination are not affected by this crash and need only routine patch scheduling. Advisory details and the reproducible crash trace are at https://github.com/avahi/avahi/security/advisories/GHSA-8pmv-23p5-92mw.

Affected VersionsENISA

avahi < 0.9-rc5

Affected Packages

euvd avahi fix: 0.9-rc5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is classified as CWE-704 (Incorrect Type Conversion or Cast): C's ctype(3) family (tolower, toupper, isdigit, isblank, isprint) requires that its argument be representable as an unsigned char or EOF, but Avahi passed a plain char. On architectures where char is signed, any name byte at or above 128 widens to a negative int, which is an out-of-range index into the ctype lookup tables and formally undefined behaviour. NetBSD commit f1ab8723 placed guard pages immediately before the ctype/tolower/toupper tables, so that out-of-range access faults deterministically instead of silently reading adjacent memory - turning the UB into a reliable SIGSEGV. In avahi_domain_hash (avahi-common/domain.c) the result is used while hashing resource-record names: the crash path in the advisory runs avahi_domain_hash <- avahi_key_hash (rr.c) <- entry_get (hashmap.c) <- avahi_hashmap_lookup (hashmap.c) <- handle_conflict (server.c) <- handle_response_packet (server.c) <- dispatch_packet <- mcast_socket_event, i.e. ordinary processing of an inbound mDNS packet on UDP 5353. The upstream fix (PR 940, commits 7730ce3f02a6a50f059934670f16ff636711aac4 and 92b659633ef0019f3202f00c9573cbfcf010630c) casts every ctype argument to unsigned char across avahi-common/alternative.c, avahi-common/domain.c, avahi-core/util.c, avahi-daemon/ini-file-parser.c and avahi-utils/avahi-browse.c, hardening the other call sites with the same latent defect.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 6.5 MEDIUM
AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 6.5 MEDIUM

Unauthenticated single mDNS multicast from the local segment (AV:A, PR:N, UI:N) reliably crashes the daemon on affected NetBSD builds; impact is availability-only (C:N/I:N/A:H).

3.1 AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 6.5 MEDIUM

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Adjacent
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

1
Patch available
Nov 20, 2026 - 19:19 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.5%
Top 55% exploitable
Prevalence
Low
Avahi ubiquitous on Linux, but crash affects only niche NetBSD builds
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Controlled
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

33
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy