Heap-based buffer overflow in shairport-sync - #VU167742
Published: November 18, 2026
Vulnerability details
The vulnerability allows a remote attacker on the local network to cause a denial of service and potentially execute arbitrary code.
The vulnerability exists due to a heap-based buffer overflow in shairport-sync's Hammerton ALAC decoder when entropy_rice_decode() uses an unchecked, bitstream-controlled blockSize as the memset() length for a heap output buffer. A remote attacker on the local network can negotiate an AirPlay session with an attacker-controlled AES key and send a crafted ALAC audio packet over RTP/UDP to corrupt adjacent heap allocations and metadata, crashing the daemon and potentially executing arbitrary code.