CVE-2024-31582 Memory corruption in n/a
Attackers can cause a denial of service or undefined behavior in FFmpeg via crafted input triggering a heap buffer overflow.
- 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-2024-31582?
CVE-2024-31582 is a high-severity memory corruption 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 n6.1 was discovered to contain a heap buffer overflow vulnerability in the draw_block_rectangle function of libavfilter/vf_codecview.c. This vulnerability allows attackers to cause undefined behavior or a Denial of Service (DoS) via crafted input.
Weakness: CWE-122
Which versions are affected by CVE-2024-31582?
It affects 2 products.
Products include Fedoraproject Fedora, Ffmpeg Ffmpeg.
How do I fix CVE-2024-31582?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2024-31582 being exploited?
There is no known exploitation of CVE-2024-31582 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as DEBIAN-CVE-2024-31582, GHSA-8g7x-vrfh-74fj, JLSEC-2025-126, UBUNTU-CVE-2024-31582.