High
Security advisory
A format string vulnerability in mpv through 0.33.0 allows user-assisted remote attackers to achieve code execution via a crafted m3u playlist file.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-30145
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:43 UTC · Revision 1
Source evidence
A format string vulnerability in mpv through 0.33.0 allows user-assisted remote attackers to achieve code execution via a crafted m3u playlist file.
osv:CVE-2021-30145
Complete source record
{
"id": "ff4fa3c7a9d934f0bb5167303e9c7d4f24cffb877c20cf94747fe30f2109461a",
"url": "https://osv.dev/vulnerability/CVE-2021-30145",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-30145",
"summary": "A format string vulnerability in mpv through 0.33.0 allows user-assisted remote attackers to achieve code execution via a crafted m3u playlist file.",
"evidence": "osv:CVE-2021-30145",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-30145",
"aliases": [
"CVE-2021-30145"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mpv-player/mpv",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "0728b514980cccd13543eea53a8e23332e233a6c"
},
{
"fixed": "d0c530919d8cd4d7a774e38ab064e0fabdae34e6"
},
{
"fixed": "b5d3e43198b9d57af5620b63537885aaa41fa8cd"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:mpv:mpv:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "0.33.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "d0c530919d8cd4d7a774e38ab064e0fabdae34e6"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "b5d3e43198b9d57af5620b63537885aaa41fa8cd"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v0.33.1"
}
]
}
}
],
"versions": [
"v0.33.0",
"v0.32.0",
"v0.31.0",
"v0.29.0",
"v0.28.0",
"v0.27.0",
"v0.26.0",
"v0.25.0",
"v0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-30145.json",
"vanir_signatures": [
{
"id": "CVE-2021-30145-7c714005",
"digest": {
"length": 2529,
"function_hash": "268634330912393980160582075139174200355"
},
"source": "https://github.com/mpv-player/mpv/commit/d0c530919d8cd4d7a774e38ab064e0fabdae34e6",
"target": {
"file": "demux/demux_mf.c",
"function": "open_mf_pattern"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2021-30145-e23b7691",
"digest": {
"threshold": 0.9,
"line_hashes": [
"318278708610111311971907503341767063621",
"20400393116502452763656028356723097255",
"2518238306090257716179303030090564964",
"122700104744205355818586971563960571964",
"190191767106811564608045251026599596882",
"28396784055268661443982855327607510881",
"129441837851678876694802442058186216748",
"99586014603262892290593702810603438397",
"103567284091188742513705697402229084886",
"133517497564468559407418282955546792386"
]
},
"source": "https://github.com/mpv-player/mpv/commit/d0c530919d8cd4d7a774e38ab064e0fabdae34e6",
"target": {
"file": "demux/demux_mf.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T14:22:33Z"
}
}
],
"modified": "2026-10-20T14:22:33.325063038Z",
"provider": "osv",
"references": [
"https://github.com/mpv-player/mpv/releases/tag/v0.33.1",
"https://mpv.io",
"https://security.gentoo.org/glsa/202107-46",
"https://github.com/mpv-player/mpv/commit/d0c530919d8cd4d7a774e38ab064e0fabdae34e6",
"https://devel0pment.de/?p=2217"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-30145",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 388839,
"published_at": "2021-05-18T14:15:07.377+00:00"
}