CVE-2021-30145
A format string vulnerability in mpv through 0.33.0 allows user-assisted remote attackers to...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
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.
- Record
CVE-2021-30145- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-134
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2021-30145- Updated
- 2026-11-02
EUVDEUVD-2021-17082 No score
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.
- Record
EUVD-2021-17082- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-mf25-jq7f-vx34
7.8
A format string vulnerability in mpv through 0.33.0 allows user-assisted remote attackers to...
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.
- Record
GHSA-mf25-jq7f-vx34- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-134
- Updated
- 2026-11-02
OSVALPINE-CVE-2021-30145
7.8
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.
- Record
ALPINE-CVE-2021-30145- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
OSV
7.8
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.
- Record
CVE-2021-30145- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 9 moreShow less
OSVDEBIAN-CVE-2021-30145
7.8
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.
- Record
DEBIAN-CVE-2021-30145- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVJLSEC-2026-476
7.8
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.
- Record
JLSEC-2026-476- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Updated
- 2026-11-02
OSVOESA-2024-1722
7.8
mpv security update
Mpv is a movie player based on MPlayer and mplayer2. It supports a wide variety of video file formats, audio and video codecs, and subtitle types. Special input URL types are available to read input from a variety of sources other than disk files. Depending on platform, a variety of different video and audio output methods are supported.
Security Fix(es):
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.(CVE-2021-30145)
- Record
OESA-2024-1722- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVOESA-2024-1929
7.8
mpv security update
Mpv is a movie player based on MPlayer and mplayer2. It supports a wide variety of video file formats, audio and video codecs, and subtitle types. Special input URL types are available to read input from a variety of sources other than disk files. Depending on platform, a variety of different video and audio output methods are supported.
Security Fix(es):
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.(CVE-2021-30145)
- Record
OESA-2024-1929- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVOESA-2024-1930
7.8
mpv security update
Mpv is a movie player based on MPlayer and mplayer2. It supports a wide variety of video file formats, audio and video codecs, and subtitle types. Special input URL types are available to read input from a variety of sources other than disk files. Depending on platform, a variety of different video and audio output methods are supported.
Security Fix(es):
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.(CVE-2021-30145)
- Record
OESA-2024-1930- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-30145
7.8
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.
- Record
UBUNTU-CVE-2021-30145- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2021-0235 No score
Updated mpv packages fix a security vulnerability
Fixed format string vulnerability allows user-assisted remote attackers to achieve code execution via a crafted m3u playlist file (CVE-2021-30145).
- Record
MGASA-2021-0235- Updated
- 2026-11-02
OSVopenSUSE-SU-2021:0788-1 No score
Security update for mpv
This update for mpv fixes the following issues:
- CVE-2021-30145: Fixed format string vulnerability allows user-assisted remote attackers to achieve code execution via a crafted m3u playlist file (boo#1186230)
- Record
openSUSE-SU-2021:0788-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2021:0798-1 No score
Security update for mpv
This update for mpv fixes the following issues:
- CVE-2021-30145: Fixed format string vulnerability allows user-assisted remote attackers to achieve code execution via a crafted m3u playlist file (boo#1186230)
This update was imported from the openSUSE:Leap:15.2:Update update project.
- Record
openSUSE-SU-2021:0798-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
mpvAlpine:v3.13 |
before 0.33.0-r1 | 0.33.0-r1 |
mpvDebian:12 |
before 0.32.0-3 | 0.32.0-3 |
mpvDebian:13 |
before 0.32.0-3 | 0.32.0-3 |
mpvDebian:14 |
before 0.32.0-3 | 0.32.0-3 |
mpv_jllJulia |
before 0.41.0+0 | 0.41.0+0 |
mpvMageia:7 |
before 0.29.1-8.1.mga7 | 0.29.1-8.1.mga7 |
mpvMageia:8 |
before 0.32.0-6.1.mga8 | 0.32.0-6.1.mga8 |
mpvopenEuler:22.03-LTS-SP1 |
before 0.32.0-3.oe2203sp1 | 0.32.0-3.oe2203sp1 |
mpvopenEuler:22.03-LTS-SP3 |
before 0.32.0-3.oe2203sp3 | 0.32.0-3.oe2203sp3 |
mpvopenEuler:22.03-LTS-SP4 |
before 0.32.0-3.oe2203sp4 | 0.32.0-3.oe2203sp4 |
Show 6 moreShow less
| Package | Affected | Fixed |
|---|---|---|
mpvUbuntu:16.04:LTS |
All versions, plus listed versions 0.9.2-1ubuntu20.12.0-10.14.0-10.14.0-1build1 |
None known |
mpvUbuntu:18.04:LTS |
All versions, plus listed versions 0.26.0-3ubuntu10.26.0-3ubuntu20.27.0-2ubuntu20.27.0-2ubuntu30.27.0-2ubuntu40.27.2-1ubuntu1 |
None known |
mpvUbuntu:20.04:LTS |
All versions, plus listed versions 0.29.1-1ubuntu10.30.0-1ubuntu10.32.0-1ubuntu1 |
None known |
mpvUbuntu:22.04:LTS |
All versions, plus listed versions 0.33.1-1ubuntu10.34.0-2ubuntu10.34.1-1ubuntu10.34.1-1ubuntu20.34.1-1ubuntu3 |
None known |
mpvopenSUSE:Leap 15.2 |
before 0.32.0+git.20200301T004003.e7bab0025f-lp152.2.6.1 | 0.32.0+git.20200301T004003.e7bab0025f-lp152.2.6.1 |
mpvSUSE:Package Hub 15 SP2 |
before 0.32.0+git.20200301T004003.e7bab0025f-bp152.2.6.1 | 0.32.0+git.20200301T004003.e7bab0025f-bp152.2.6.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, references | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-30145 is a high vulnerability (CVSS 7.8) in Mpv, published May 18, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.43%, the 84th percentile. Fixed in mpv 0.33.0-r1.
References
mpv.io
github.com/mpv-player/mpv/releases/tag/v0.33.1
devel0pment.de?p=2217
github.com/mpv-player/mpv/commit/d0c530919d8cd4d7a774e38ab064e0fabdae34e6
security.gentoo.org/glsa/202107-46
nvd.nist.gov/vuln/detail/CVE-2021-30145
Show 15 moreShow less
github.com/advisories/GHSA-mf25-jq7f-vx34
security.alpinelinux.org/vuln/CVE-2021-30145
security-tracker.debian.org/tracker/CVE-2021-30145
advisories.mageia.org/MGASA-2021-0235.html
bugs.mageia.org/show_bug.cgi?id=29058
lists.opensuse.org/archives/list/[email protected]/thread/QVXB4F67QODLPKYBZX7SBXTE7ESGKGOD
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2024-1722
openeuler.org/en/security/security-bulletins/detail?id=openEuler-SA-2024-1929
openeuler.org/en/security/security-bulletins/detail?id=openEuler-SA-2024-1930
ubuntu.com/security/CVE-2021-30145
github.com/mpv-player/mpv/commit/cb3fa04bcb2ba9e0d25788480359157208c13e0b
cve.org/CVERecord?id=CVE-2021-30145
bugzilla.suse.com/1186230
suse.com/security/cve/CVE-2021-30145
lists.opensuse.org/archives/list/[email protected]/thread/7RIJ3BHGUNK7E25ETV52KEDWICBG46XA