Out-of-bounds read in shairport-sync - #VU167738
Published: November 18, 2026
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.