CVE-2026-49130

Music Player Daemon < 0.24.11 CRLF Injection via XspfPlaylistPlugin.cxx

Published May 28, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Music Player Daemon (MPD) versions prior to 0.24.11 contain a CRLF injection flaw within the XSPF playlist plugin. The bug originates in the xspf_char_data function, where Expat decodes numeric character references before passing character data to the callback. An attacker can supply a malicious XSPF playlist containing XML numeric character references that resolve to CR/LF bytes. These injected bytes are then written into URI fields and ultimately appear as forged key‑value pairs in MPD protocol responses such as playlistinfo, currentsong, and listplaylist, as well as in the state file generated by MPD. This loss of protocol integrity can lead to information disclosure or manipulation of client behavior.

Affected Systems

All MusicPlayerDaemon MPD installations running a version earlier than 0.24.11 are affected. The patch is released in MPD 0.24.11, which removes the vulnerability by sanitizing input data in the XSPF playlist plugin.

Risk and Exploitability

The vulnerability scores a CVSS score of 6.9, reflecting moderate severity. No EPSS score is available, and the issue is not listed in CISA’s KEV catalog. The likely attack vector requires the attacker to supply a crafted XSPF playlist to the MPD process; the exploit can be local if the attacker can influence playlist uploads or remote if the MPD server accepts playlists from untrusted network sources. Given the availability of a simple mitigated release and the potential for protocol disruption, the risk warrants timely remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade MPD to version 0.24.11 or later to eliminate the CRLF injection flaw
  • Restrict the source of XSPF playlists to trusted users or locations and add input validation to reject numeric character references that resolve to CR/LF bytes
  • If the XSPF feature is unnecessary, disable the XSPF playlist plugin to prevent the vulnerability from being exploitable

Generated by OpenCVE AI on May 28, 2026 at 20:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Musicpd
Musicpd music Player Daemon
CPEs cpe:2.3:a:musicpd:music_player_daemon:*:*:*:*:*:*:*:*
Vendors & Products Musicpd
Musicpd music Player Daemon
Type Values Removed Values Added
First Time appeared Musicplayerdaemon
Musicplayerdaemon mpd
Vendors & Products Musicplayerdaemon
Musicplayerdaemon mpd
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Music Player Daemon < 0.24.11 CRLF Injection via XspfPlaylistPlugin.cxx
Weaknesses CWE-93
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-93

    Improper Neutralization of CRLF Sequences ('CRLF Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 8, 2026, 2:04 PM
Reserved
May 27, 2026, 5:40 PM
Status
Deferred
Published
May 28, 2026, 8:16 PM
Modified
Oct 26, 2026, 1:10 PM