Skip to main content

Airshare: zeroconf: Unvalidated rdlength in record payload readers allows LAN-local cache corruption via crafted mDNS packet (CVE-2026-48487)

0
Medium
Published: 08/13/2026 (08/13/2026, 16:35:13 UTC)
Source: GCVE Database
Product: airshare

Description

A vulnerability in the Airshare zeroconf Python library allows unauthenticated local network hosts to inject malformed mDNS records with over-advertised length fields, causing cache corruption. This occurs because the parser reads record lengths without validating against the actual data buffer size, leading to desynchronization of parser state and insertion of attacker-shaped records into the cache. The issue affects versions prior to 0.149.16 and is fixed in that version. The vulnerability does not allow remote code execution or denial of service but can poison the local mDNS cache, potentially impacting downstream services relying on zeroconf discovery.

CVSS v3.1

Score 6.5medium

Attack Vector
Adjacent Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected software

Homebrewmore threats →ghsa
airshare
pkg:brew/airshare
Affected versions
>=0.1.5 <0.1.6_23

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/18/2026, 01:34:54 UTC

Technical Analysis

The vulnerability arises from improper validation of the 16-bit RDLENGTH field in mDNS records parsed by the zeroconf library's _read_character_string and _read_string functions. These functions slice the data buffer based on the declared length without checking if the length exceeds the buffer size, allowing a crafted mDNS response with an inflated RDLENGTH but truncated payload to be accepted and cached. This causes parser state desynchronization and cache pollution with attacker-controlled key/value and address records. The flaw affects local network hosts sending multicast UDP packets on port 5353 and is fixed in zeroconf version 0.149.16.

Potential Impact

An unauthenticated attacker on the local link can send a single malicious mDNS response that corrupts the local zeroconf cache with attacker-controlled records for the TTL duration. This can mislead zeroconf consumers such as Home Assistant and other discovery integrations relying on ServiceInfo properties. The vulnerability does not allow remote code execution or denial of service but can enable further attack chains by poisoning the mDNS cache. The CVSS score is 6.5 (Medium), but the vendor manually rated severity as low due to the limited threat model of mDNS.

Mitigation Recommendations

Upgrade the zeroconf library to version 0.149.16 or later, where the vulnerability is fixed. There is no in-process workaround. Alternatively, restrict mDNS traffic (UDP port 5353) to trusted Layer-2 network segments using access point client isolation, guest network separation, or host firewall rules to prevent untrusted hosts from sending malicious packets.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
BREW-airshare-CVE-2026-48487
Osv Schema Version
1.7.3
Ecosystems
["Homebrew"]
Cvss Version
3.1

Threat ID: 6aac8e1255bf5e2cf549040b

Added to database: 09/18/2026, 01:04:18 UTC

Last enriched: 09/18/2026, 01:34:54 UTC

Last updated: 09/18/2026, 01:34:54 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses