CVE-2021-38291 Denial of service in n/a

High 7.5 Published Updated

An attacker can cause a denial of service via an assertion failure in FFmpeg's mathematics module when processing crafted media files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-38291?

CVE-2021-38291 is a high-severity denial of service vulnerability in Debian Debian Linux, published on 12 Aug 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

FFmpeg version (git commit de8e6e67e7523e48bb27ac224a0b446df05e1640) suffers from a an assertion failure at src/libavutil/mathematics.c.

Weakness: CWE-617

Which versions are affected by CVE-2021-38291?

It affects 2 products.

Products include Debian Debian Linux, Ffmpeg Ffmpeg.

How do I fix CVE-2021-38291?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2021-38291 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as CLEANSTART-2024-LL34532, DEBIAN-CVE-2021-38291, GHSA-4525-66vv-3hwf, JLSEC-2025-117, UBUNTU-CVE-2021-38291.

Is CVE-2021-38291 in your software?

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

Check your SBOMs for free