CVE-2021-30145 Code injection in n/a

High 7.8 Published Updated

A format string vulnerability in mpv allows remote attackers to execute arbitrary code via a crafted m3u playlist file.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-30145?

CVE-2021-30145 is a high-severity code injection vulnerability in n/a, published on 18 May 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-134

Which versions are affected by CVE-2021-30145?

It affects 1 product.

Linux distribution packages (2)
mpv SUSE:Package Hub 15 SP2All versions0.32.0+git.20200301T004003.e7bab0025f-bp152.2.6.1
mpv openSUSE:Leap 15.2All versions0.32.0+git.20200301T004003.e7bab0025f-lp152.2.6.1

Products include Mpv Mpv.

How do I fix CVE-2021-30145?

Upgrade to a fixed version.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2021-30145 being exploited?

There is no known exploitation of CVE-2021-30145 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2021-30145, GHSA-mf25-jq7f-vx34, JLSEC-2026-476, MGASA-2021-0235, OESA-2024-1722, OESA-2024-1929 and 4 more.

Is CVE-2021-30145 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free