mpd — security advisory
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.
- Products
- mpd
- Affected versions
- 0.19.10-1build1, 0.19.11-1, 0.19.12-1, 0.20.11-1, 0.20.11-1build1, 0.20.13-1, 0.20.17-1, 0.20.18-1, 0.20.18-1build1, 0.20.9-2, 0.20.9-2build2, 0.21.13-1build1, 0.21.13-1build2, 0.21.16-1, 0.21.16-1build1, 0.21.16-1build2, 0.21.20-1, 0.21.20-1build1, 0.22.6-1build1, 0.23.12-1build3, 0.23.14-1, 0.23.14-2, 0.23.14-2build1, 0.23.14-2build3, 0.23.14-2build4, 0.23.14-2build5, 0.23.17-1build1, 0.23.3-2, 0.23.5-1build1, 0.23.5-1build2, 0.23.5-1build3, 0.23.5-1build4, 0.23.5-1build5, 0.23.5-1build7, 0.24.12-1, 0.24.3-1, 0.24.4-1, 0.24.6-1, 0.24.6-1build1, 0.24.6-1build2, 0.24.6-1build3
- Fixed versions
- Not specified
- CVEs
- CVE-2026-49127
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 03:08 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2026-49127
mpd
Fixed versions: Not specified
mpd
Fixed versions: Not specified
mpd
Fixed versions: Not specified
mpd
Fixed versions: Not specified
mpd
Fixed versions: Not specified
mpd
Fixed versions: Not specified
mpd
Fixed versions: Not specified
mpd
Fixed versions: Not specified
Complete source record
{
"id": "10a01b20daf3aa12b16661ba205e558439df99a312bb2deccf57a75698e2ff64",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-49127",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-49127",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2026-49127",
"products": [
{
"name": {
"value": "mpd",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.19.10-1build1",
"evidence": "/affected/0/versions"
},
{
"value": "0.19.11-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.19.12-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "mpd",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.20.9-2",
"evidence": "/affected/1/versions"
},
{
"value": "0.20.9-2build2",
"evidence": "/affected/1/versions"
},
{
"value": "0.20.11-1",
"evidence": "/affected/1/versions"
},
{
"value": "0.20.11-1build1",
"evidence": "/affected/1/versions"
},
{
"value": "0.20.13-1",
"evidence": "/affected/1/versions"
},
{
"value": "0.20.17-1",
"evidence": "/affected/1/versions"
},
{
"value": "0.20.18-1",
"evidence": "/affected/1/versions"
},
{
"value": "0.20.18-1build1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "mpd",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.21.13-1build1",
"evidence": "/affected/2/versions"
},
{
"value": "0.21.13-1build2",
"evidence": "/affected/2/versions"
},
{
"value": "0.21.16-1",
"evidence": "/affected/2/versions"
},
{
"value": "0.21.16-1build1",
"evidence": "/affected/2/versions"
},
{
"value": "0.21.16-1build2",
"evidence": "/affected/2/versions"
},
{
"value": "0.21.20-1",
"evidence": "/affected/2/versions"
},
{
"value": "0.21.20-1build1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "mpd",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.22.6-1build1",
"evidence": "/affected/3/versions"
},
{
"value": "0.23.3-2",
"evidence": "/affected/3/versions"
},
{
"value": "0.23.5-1build1",
"evidence": "/affected/3/versions"
},
{
"value": "0.23.5-1build2",
"evidence": "/affected/3/versions"
},
{
"value": "0.23.5-1build3",
"evidence": "/affected/3/versions"
},
{
"value": "0.23.5-1build4",
"evidence": "/affected/3/versions"
},
{
"value": "0.23.5-1build5",
"evidence": "/affected/3/versions"
},
{
"value": "0.23.5-1build7",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "mpd",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.23.12-1build3",
"evidence": "/affected/4/versions"
},
{
"value": "0.23.14-1",
"evidence": "/affected/4/versions"
},
{
"value": "0.23.14-2",
"evidence": "/affected/4/versions"
},
{
"value": "0.23.14-2build1",
"evidence": "/affected/4/versions"
},
{
"value": "0.23.14-2build3",
"evidence": "/affected/4/versions"
},
{
"value": "0.23.14-2build4",
"evidence": "/affected/4/versions"
},
{
"value": "0.23.14-2build5",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "mpd",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.23.17-1build1",
"evidence": "/affected/5/versions"
},
{
"value": "0.24.3-1",
"evidence": "/affected/5/versions"
},
{
"value": "0.24.4-1",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "mpd",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.24.6-1build3",
"evidence": "/affected/6/versions"
},
{
"value": "0.24.12-1",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "mpd",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.24.4-1",
"evidence": "/affected/7/versions"
},
{
"value": "0.24.6-1",
"evidence": "/affected/7/versions"
},
{
"value": "0.24.6-1build1",
"evidence": "/affected/7/versions"
},
{
"value": "0.24.6-1build2",
"evidence": "/affected/7/versions"
},
{
"value": "0.24.6-1build3",
"evidence": "/affected/7/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2026-49127",
"aliases": [
"UBUNTU-CVE-2026-49127"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H"
},
{
"type": "CVSS_V4",
"score": "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"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "mpd",
"purl": "pkg:deb/ubuntu/mpd?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"0.19.10-1build1",
"0.19.11-1",
"0.19.12-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49127.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "mpd",
"binary_version": "0.19.12-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "mpd",
"purl": "pkg:deb/ubuntu/mpd?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"0.20.9-2",
"0.20.9-2build2",
"0.20.11-1",
"0.20.11-1build1",
"0.20.13-1",
"0.20.17-1",
"0.20.18-1",
"0.20.18-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49127.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "mpd",
"binary_version": "0.20.18-1build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "mpd",
"purl": "pkg:deb/ubuntu/mpd?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"0.21.13-1build1",
"0.21.13-1build2",
"0.21.16-1",
"0.21.16-1build1",
"0.21.16-1build2",
"0.21.20-1",
"0.21.20-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49127.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "mpd",
"binary_version": "0.21.20-1build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "mpd",
"purl": "pkg:deb/ubuntu/mpd?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"0.22.6-1build1",
"0.23.3-2",
"0.23.5-1build1",
"0.23.5-1build2",
"0.23.5-1build3",
"0.23.5-1build4",
"0.23.5-1build5",
"0.23.5-1build7"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49127.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "mpd",
"binary_version": "0.23.5-1build7"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "mpd",
"purl": "pkg:deb/ubuntu/mpd?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"0.23.12-1build3",
"0.23.14-1",
"0.23.14-2",
"0.23.14-2build1",
"0.23.14-2build3",
"0.23.14-2build4",
"0.23.14-2build5"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49127.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "mpd",
"binary_version": "0.23.14-2build5"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "mpd",
"purl": "pkg:deb/ubuntu/mpd?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"0.23.17-1build1",
"0.24.3-1",
"0.24.4-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49127.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "mpd",
"binary_version": "0.24.4-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "mpd",
"purl": "pkg:deb/ubuntu/mpd?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"0.24.6-1build3",
"0.24.12-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49127.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "mpd",
"binary_version": "0.24.12-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "mpd",
"purl": "pkg:deb/ubuntu/mpd?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"0.24.4-1",
"0.24.6-1",
"0.24.6-1build1",
"0.24.6-1build2",
"0.24.6-1build3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49127.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "mpd",
"binary_version": "0.24.6-1build3"
}
]
}
}
],
"modified": "2026-10-17T13:00:24.720284060Z",
"provider": "osv",
"upstream": [
"CVE-2026-49127"
],
"references": [
"https://ubuntu.com/security/CVE-2026-49127",
"https://www.cve.org/CVERecord?id=CVE-2026-49127",
"https://github.com/MusicPlayerDaemon/MPD/issues/2485",
"https://github.com/MusicPlayerDaemon/MPD/commit/59911028c020f84bc2e669da6a1ef88121301274",
"https://github.com/MusicPlayerDaemon/MPD/releases/tag/v0.24.11",
"https://mstreet97.github.io/security-research/opensource/vulnerability-disclosure/cybersecurity/cve/2026/05/25/Four_Bugs_Reachable_nc.html",
"https://raw.githubusercontent.com/MusicPlayerDaemon/MPD/v0.24.11/NEWS",
"https://www.musicpd.org/news/2026/05/mpd-0-24-11-released/",
"https://www.vulncheck.com/advisories/music-player-daemon-stack-buffer-overflow-via-pcm-unpack-24be"
]
},
"related_cves": [
{
"value": "CVE-2026-49127",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/1/score"
},
"source_id": "core-osv",
"document_id": 360512,
"published_at": "2026-05-28T20:16:00+00:00"
}