Heap-based buffer overflow in shairport-sync - #VU167740
Published: November 18, 2026
Vulnerability details
The vulnerability allows a remote attacker to corrupt heap memory and cause a denial of service by terminating the Shairport Sync daemon.
The vulnerability exists due to a heap-based buffer overflow in pair_tlv_format() when formatting AirPlay 2 pairing-list responses because the size calculation omits zero-length separator headers. A remote attacker can populate pairings through plaintext /pair-add requests and request /pair-list to write attacker-controlled identifier bytes beyond a 4096-byte heap buffer in builds with CONFIG_AIRPLAY_2 enabled.