Vulnerability · Published May 28, 2026 · Assigned by VulnCheck
CVE-2026-49127Music Player Daemon < 0.24.11 Stack Buffer Overflow via pcm_unpack_24be
High 8.6
In plain English
A high-severity security flaw in MPD from MusicPlayerDaemon. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 44% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | mpd | no fix listed | DEBIAN-CVE-2026-49127 |
| Debian:13 | mpd | no fix listed | DEBIAN-CVE-2026-49127 |
| Debian:14 | mpd | 0.24.12-1 | DEBIAN-CVE-2026-49127 |
| Ubuntu:22.04:LTS | mpd | no fix listed | UBUNTU-CVE-2026-49127 |
| Ubuntu:24.04:LTS | mpd | no fix listed | UBUNTU-CVE-2026-49127 |
| Ubuntu:25.10 | mpd | no fix listed | UBUNTU-CVE-2026-49127 |
| Ubuntu:26.04:LTS | mpd | no fix listed | UBUNTU-CVE-2026-49127 |
| Ubuntu:26.10 | mpd | no fix listed | UBUNTU-CVE-2026-49127 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| MusicPlayerDaemon | MPD | 0 – before 0.24.11 |
Weakness: CWE-193 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
References
- https://mstreet97.github.io/security-research/opensource/vulnerability-disclosure/cybersecurity/cve/2026/05/25/Four_Bugs_Reachable_nc.html technical-description, exploit
- https://www.musicpd.org/news/2026/05/mpd-0-24-11-released/ release-notes, patch
- 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/issues/2485 issue-tracking
- https://github.com/MusicPlayerDaemon/MPD/commit/59911028c020f84bc2e669da6a1ef88121301274 patch
- https://www.vulncheck.com/advisories/music-player-daemon-stack-buffer-overflow-via-pcm-unpack-24be third-party-advisory