CVE-2026-49127Music Player Daemon < 0.24.11 Stack Buffer Overflow via pcm_unpack_24be
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | mpd | Fix pending | UBUNTU-CVE-2026-49127 | |
| Ubuntu 26.04 | mpd | Under investigation | UBUNTU-CVE-2026-49127 | |
| Ubuntu 25.10 | mpd | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-49127 | |
| Ubuntu 24.04 | mpd | Under investigation | UBUNTU-CVE-2026-49127 | |
| Ubuntu 22.04 | mpd | Under investigation | UBUNTU-CVE-2026-49127 | |
| Ubuntu 20.04 | mpd | Fix pending | UBUNTU-CVE-2026-49127 | |
| Ubuntu 18.04 | mpd | Fix pending | UBUNTU-CVE-2026-49127 | |
| Ubuntu 16.04 | mpd | Fix pending | UBUNTU-CVE-2026-49127 | |
| Debian 14 | mpd | Fixed | 0.24.12-1 | DEBIAN-CVE-2026-49127 |
| Debian 13 | mpd | Fix pending | DEBIAN-CVE-2026-49127 | |
| Debian 12 | mpd | Fix pending | DEBIAN-CVE-2026-49127 |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- MusicPlayerDaemon MPD: affected: before 0.24.11; fixed in
0.24.11
Vendor advisories:
- https://www.musicpd.org/news/2026/05/mpd-0-24-11-released/ (patch, release-notes)
- https://raw.githubusercontent.com/MusicPlayerDaemon/MPD/v0.24.11/NEWS (release-notes)
- https://github.com/MusicPlayerDaemon/MPD/releases/tag/v0.24.11 (release-notes)
- https://github.com/MusicPlayerDaemon/MPD/commit/59911028c020f84bc2e669da6a1ef88121301274 (patch)
References
- https://mstreet97.github.io/security-research/opensource/vulnerability-disclosure/cybersecurity/cve/2026/05/25/Four_Bugs_Reachable_nc.html
- https://www.musicpd.org/news/2026/05/mpd-0-24-11-released/
- https://raw.githubusercontent.com/MusicPlayerDaemon/MPD/v0.24.11/NEWS
- https://github.com/MusicPlayerDaemon/MPD/releases/tag/v0.24.11
- https://github.com/MusicPlayerDaemon/MPD/issues/2485
- https://github.com/MusicPlayerDaemon/MPD/commit/59911028c020f84bc2e669da6a1ef88121301274
- https://www.vulncheck.com/advisories/music-player-daemon-stack-buffer-overflow-via-pcm-unpack-24be
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.