Off-by-one Error Affecting mpd package, versions <0.24.12-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.68% (51st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-MPD-17098263
  • published30 May 2026
  • disclosed28 May 2026

Introduced: 28 May 2026

CVE-2026-49127  (opens in a new tab)
CWE-193  (opens in a new tab)

How to fix?

Upgrade Debian:unstable mpd to version 0.24.12-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mpd package and not the mpd package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1