Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed MPD instance
-
DeliveryHost malicious 24-bit PCM stream
-
ExploitSend addid + play commands
-
ExecutionTrigger off-by-one in pcm_unpack_24be
-
PersistOverwrite stack with HTTP body bytes
-
ImpactCrash daemon or hijack control flow
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Off-by-one prevention
|
| Exploitation Conditions | Exploitation requires that the target MPD instance has the HTTP/curl input plugin enabled (default in most distributions) and that an attacker can submit two MPD protocol commands referencing an attacker-controlled HTTP URL - either via direct network access to the MPD control port (default 6600) on a non-localhost binding, via a compromised or scriptable MPD client, or by social-engineering a user into queueing a malicious internet-radio stream. The PCM decoder plugin must be invoked on the malicious stream, which happens automatically when MPD attempts to play a 24-bit big-endian PCM source. Limiting factors: MPD typically binds to localhost by default, so remote unauthenticated reach depends on operator configuration; only four bytes are overwritten with three attacker-controlled bytes, which constrains exploit reliability; and stack canaries, ASLR, and PIE on hardened builds will most commonly degrade the outcome to a daemon crash rather than reliable code execution. |
| Impact | The CVSS 3.1 base score of 8.6 (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H) reflects network reachability, low complexity, no privileges, and no user interaction, with high availability impact (daemon crash) and limited confidentiality/integrity impact consistent with partial stack corruption. EPSS and CISA KEV data are not provided in the input, so exploitation probability and active-exploitation status are unknown; treat the 'no public exploit identified at time of analysis' status as the baseline. SSVC signals are not supplied, but the technical profile - automatable network-triggered crash with potential RCE on a long-running daemon - argues for prompt patching even absent KEV listing. The realistic ceiling of code execution depends on whether MPD is built with stack protectors, PIE, and a hardened libc; on default Linux distro builds these mitigations typically downgrade the impact to denial of service, which aligns with the A:H / C:L / I:L scoring. |
| Exploit ScenarioDerived | An attacker hosts an HTTP server delivering a crafted 24-bit big-endian PCM stream whose byte length is chosen so the unpack buffer triggers the off-by-one. The attacker (or a tricked legitimate client) issues two MPD commands - for example addid followed by play - pointing MPD at the malicious URL; MPD fetches the stream, the PCM decoder unpacks one extra int32_t past the 1365-entry stack array, and three attacker-controlled bytes overwrite adjacent stack memory, crashing the daemon and potentially redirecting execution if stack protections are weak. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 28, 2026
Stack buffer overflow in Music Player Daemon (MPD) versions prior to 0.24.11 allows remote unauthenticated attackers to crash the daemon or potentially execute code by serving a malicious HTTP audio stream processed by the PCM decoder plugin. The flaw stems from an off-by-one miscalculation in pcm_unpack_24be (src/pcm/Pack.cxx) that writes four bytes (three attacker-controlled) past a 1365-entry int32_t stack array. No public exploit identified at time of analysis, but the upstream fix is confirmed via commit 5991102 and release 0.24.11.
RemediationAI
Vendor-released patch: upgrade to MPD 0.24.11 or later, which incorporates commit 59911028c020f84bc2e669da6a1ef88121301274 replacing the truncating division with DivideRoundUp() in src/decoder/plugins/PcmDecoderPlugin.cxx; release details are at https://www.musicpd.org/news/2026/05/mpd-0-24-11-released/ and https://github.com/MusicPlayerDaemon/MPD/releases/tag/v0.24.11. Distributions that cannot immediately ship 0.24.11 can backport the one-line patch from the linked commit. As compensating controls until patching, disable the curl/HTTP input plugin in mpd.conf (input { plugin "curl" enabled "no" }) to block remote audio fetches at the cost of losing internet-radio and HTTP playlist support, restrict the MPD control socket and bind_to_address to localhost or a trusted management VLAN so untrusted clients cannot issue the two commands needed to trigger the decode, and run mpd under systemd hardening (NoNewPrivileges, ProtectSystem=strict, MemoryDenyWriteExecute) to limit the blast radius of a successful overflow.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
MPD is a server-side music streaming daemon (cpe:2.3:a:musicplayerdaemon:mpd) written in C++ that decodes audio from local and remote sources. The vulnerability is a classic CWE-193 (Off-by-One Error) in the 24-bit big-endian PCM unpack routine: the stack buffer is sized as buffer.GetCapacity() / 3, which truncates rather than rounding up, so when the input buffer's capacity is not a multiple of 3, the unpack loop writes one extra int32_t (4 bytes) beyond the array. The upstream patch replaces the integer division with DivideRoundUp(buffer.GetCapacity(), 3), correctly sizing the stack allocation. Because the overflowed bytes originate from the HTTP response body of a remote audio source, an attacker controls three of the four spilled bytes, giving partial control over adjacent stack data such as saved registers or return addresses depending on compiler layout and stack canaries.
Know when Mpd gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
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.
Executive ViewAI
Music Player Daemon (MPD) versions before 0.24.11 contain a stack buffer overflow in HTTP audio stream processing that allows unauthenticated remote attackers to crash the service or execute arbitrary code. Any organization operating MPD for audio services faces immediate risk of service disruption and potential system compromise without patching.
Vendor-released patch: MPD 0.24.11. Apply immediately. Interim mitigation pending patch: restrict HTTP audio stream ingress to trusted sources via network segmentation if operationally feasible.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
The L2TP implementation of MPD before 5.9 allows a remote attacker who can send specifically crafted L2TP control packet
The PPP implementation of MPD before 5.9 allows a remote attacker who can send specifically crafted PPP authentication m
Information disclosure in Music Player Daemon (MPD) before 0.24.11 allows unauthenticated remote attackers to read arbit
CRLF injection in Music Player Daemon (MPD) before version 0.24.11 enables network-accessible, unauthenticated attackers
Server-side request forgery in Music Player Daemon (MPD) before 0.24.11 allows unauthenticated remote attackers to bypas
EUVD-2026-33000
GHSA-p9r5-qpp4-rjg3
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB