Description
Music Player Daemon (MPD) before version 0.24.11 contains a CRLF injection vulnerability in the xspf_char_data function within the XSPF playlist plugin that allows attackers to embed literal CR/LF bytes in URI fields by supplying a malicious XSPF playlist with XML numeric character references. Attackers can inject forged key-value lines through the location field into MPD protocol responses including playlistinfo, currentsong, and listplaylist outputs, as well as the state file writer, by exploiting Expat's decoding of numeric character references prior to the character data callback.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| MusicPlayerDaemon | MPD | < 0.24.11 | 0.24.11 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | mpd | 0.24.12-1 | — |
| Debian 13 | mpd | No fix yet | — |
| Debian 12 | mpd | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | mpd | No fix yet | — |
| Ubuntu 26.04 LTS | mpd | No fix yet | — |
| Ubuntu 25.10 | mpd | No fix yet | — |
| Ubuntu 24.04 LTS | mpd | No fix yet | — |
| Ubuntu 22.04 LTS | mpd | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | mpd | No fix yet | — |
| Ubuntu 18.04 LTS | mpd | No fix yet | — |
| Ubuntu 16.04 LTS | mpd | No fix yet | — |
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
- MPD 0.24.11 Release Notes release-notes
- https://github.com/MusicPlayerDaemon/MPD/issues/2483 issue-tracking
- https://github.com/MusicPlayerDaemon/MPD/commit/855085b35c67dddeef0652e2cb3ac8cdd4f457b7 patch
- https://www.vulncheck.com/advisories/music-player-daemon-crlf-injection-via-xspfplaylistplugin-cxx third-party-advisory