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.
Published: 2026-05-28
Score: 6.9 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Thu, 28 May 2026 21:30:00 +0000


Thu, 28 May 2026 19:45:00 +0000

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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-05-28T20:43:12.543Z

Reserved: 2026-05-27T17:40:12.738Z

Link: CVE-2026-49130

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-05-28T20:16:26.823

Modified: 2026-05-28T20:16:26.823

Link: CVE-2026-49130

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-28T20:45:26Z

Weaknesses