CVE-2026-49127
JSON

8.8high

Music Player Daemon < 0.24.11 Stack Buffer Overflow via pcm_unpack_24be

Severity
8.8high CVSS:4.0 by VulnCheck
Exploit likelihood
0.51% (higher than 45% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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

Product or packageVersionsReported by
MusicPlayerDaemon MPDbefore 0.24.11CVE List

All scores

VulnCheck8.8high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
VulnCheck8.6high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H

Classification

CWE-193

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Music Player Daemon (MPD) antes de la versión 0.24.11 contiene una vulnerabilidad de desbordamiento de búfer de pila en la función pcm_unpack_24be en src/pcm/Pack.cxx que permite a atacantes no autenticados corromper la memoria de pila al desencadenar una escritura off-by-one en el plugin decodificador PCM. Los atacantes pueden emitir dos comandos MPD referenciando una fuente de audio HTTP maliciosa para hacer que el bucle de descompresión escriba 1366 entradas en un búfer de 1365 entradas, sobrescribiendo cuatro bytes más allá del límite del array con tres bytes controlados por el atacante de un cuerpo de respuesta HTTP, lo que resulta en la terminación del demonio o una potencial ejecución de código.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-49127 changed 2026-11-08CVE Terms of Use
NVDCVE-2026-49127 changed 2026-10-26Public domain