Out-of-bounds read in shairport-sync - #VU167738

 

Out-of-bounds read in shairport-sync - #VU167738

Published: November 18, 2026


Vulnerability identifier: #VU167738
CSH Severity: Medium
CVSS v4: 7.1 [CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-125
Exploitation vector: Adjecent network
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker on the local network to crash the shairport-sync daemon, causing denial of service for all active AirPlay sessions.

The vulnerability exists due to an out-of-bounds read in rtsp.c handle_set_parameter_metadata() when parsing DMAP metadata without checking remaining header bytes or validating payload-supplied lengths against the remaining buffer size. A remote attacker on the local network can send a crafted RTSP SET_PARAMETER request with Content-Type application/x-dmap-tagged to trigger reads past the heap buffer and crash the daemon when compiled with CONFIG_METADATA enabled.


Affected software

shairport-sync

Remediation

Install security update from vendor's website.

shairport-sync - update to 5.1

External References

Related Security Bulletins