CVE-2024-31585 Denial of service in n/a

Medium 5.3 Published Updated

Attackers can cause a Denial of Service in FFmpeg via crafted input due to an off-by-one error in the showspectrum filter.

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

What is CVE-2024-31585?

CVE-2024-31585 is a medium-severity denial of service vulnerability in Fedoraproject Fedora, published on 17 Apr 2024. 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

FFmpeg version n5.1 to n6.1 was discovered to contain an Off-by-one Error vulnerability in libavfilter/avf_showspectrum.c. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted input.

Weakness: CWE-193

Which versions are affected by CVE-2024-31585?

It affects 2 products.

Products include Fedoraproject Fedora, Ffmpeg Ffmpeg.

How do I fix CVE-2024-31585?

Upgrade to a fixed version.

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-2024-31585 being exploited?

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as DEBIAN-CVE-2024-31585, GHSA-vh9p-h4p4-q9vv, JLSEC-2025-127, OESA-2024-2155, OESA-2024-2202, OESA-2024-2204 and 1 more.

Is CVE-2024-31585 in your software?

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

Check your SBOMs for free