Heap-based buffer overflow in shairport-sync - #VU167740

 

Heap-based buffer overflow in shairport-sync - #VU167740

Published: November 18, 2026


Vulnerability identifier: #VU167740
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/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-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

shairport-sync

Remediation

Install security update from vendor's website.

shairport-sync - update to 5.6

External References

Related Security Bulletins