{"id":"UBUNTU-CVE-2026-49127","details":"Music Player Daemon (MPD) before version 0.24.11 contains a stack buffer overflow vulnerability in the pcm_unpack_24be function in src/pcm/Pack.cxx that allows unauthenticated attackers to corrupt stack memory by triggering an off-by-one write in the PCM decoder plugin. Attackers can issue two MPD commands referencing a malicious HTTP audio source to cause the unpack loop to write 1366 entries into a 1365-entry buffer, overwriting four bytes past the array boundary with three attacker-controlled bytes from an HTTP response body, resulting in daemon termination or potential code execution.","modified":"2026-06-03T11:26:16Z","published":"2026-05-28T20:16:00Z","upstream":["CVE-2026-49127"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-49127"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-49127"},{"type":"REPORT","url":"https://github.com/MusicPlayerDaemon/MPD/issues/2485"},{"type":"REPORT","url":"https://github.com/MusicPlayerDaemon/MPD/commit/59911028c020f84bc2e669da6a1ef88121301274"},{"type":"REPORT","url":"https://github.com/MusicPlayerDaemon/MPD/releases/tag/v0.24.11"},{"type":"REPORT","url":"https://mstreet97.github.io/security-research/opensource/vulnerability-disclosure/cybersecurity/cve/2026/05/25/Four_Bugs_Reachable_nc.html"},{"type":"REPORT","url":"https://raw.githubusercontent.com/MusicPlayerDaemon/MPD/v0.24.11/NEWS"},{"type":"REPORT","url":"https://www.musicpd.org/news/2026/05/mpd-0-24-11-released/"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/music-player-daemon-stack-buffer-overflow-via-pcm-unpack-24be"}],"affected":[{"package":{"name":"mpd","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/mpd?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.19.10-1build1","0.19.11-1","0.19.12-1"],"ecosystem_specific":{"binaries":[{"binary_name":"mpd","binary_version":"0.19.12-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49127.json"}},{"package":{"name":"mpd","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/mpd?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.20.9-2","0.20.9-2build2","0.20.11-1","0.20.11-1build1","0.20.13-1","0.20.17-1","0.20.18-1","0.20.18-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"mpd","binary_version":"0.20.18-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49127.json"}},{"package":{"name":"mpd","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/mpd?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.21.13-1build1","0.21.13-1build2","0.21.16-1","0.21.16-1build1","0.21.16-1build2","0.21.20-1","0.21.20-1build1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.21.20-1build1","binary_name":"mpd"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49127.json"}},{"package":{"name":"mpd","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/mpd?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.22.6-1build1","0.23.3-2","0.23.5-1build1","0.23.5-1build2","0.23.5-1build3","0.23.5-1build4","0.23.5-1build5","0.23.5-1build7"],"ecosystem_specific":{"binaries":[{"binary_name":"mpd","binary_version":"0.23.5-1build7"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49127.json"}},{"package":{"name":"mpd","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/mpd?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.23.12-1build3","0.23.14-1","0.23.14-2","0.23.14-2build1","0.23.14-2build3","0.23.14-2build4","0.23.14-2build5"],"ecosystem_specific":{"binaries":[{"binary_version":"0.23.14-2build5","binary_name":"mpd"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49127.json"}},{"package":{"name":"mpd","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/mpd?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.23.17-1build1","0.24.3-1","0.24.4-1"],"ecosystem_specific":{"binaries":[{"binary_name":"mpd","binary_version":"0.24.4-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49127.json"}},{"package":{"name":"mpd","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/mpd?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.24.4-1","0.24.6-1","0.24.6-1build1","0.24.6-1build2","0.24.6-1build3"],"ecosystem_specific":{"binaries":[{"binary_name":"mpd","binary_version":"0.24.6-1build3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49127.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]}