7.8
CWE
119 122
EPSS
0.045%
Advisory Published
Updated

CVE-2024-31582: Buffer Overflow

First published: Wed Apr 17 2024(Updated: )

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.

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
ubuntu/ffmpeg<7:6.0-6ubuntu1.1
7:6.0-6ubuntu1.1
ubuntu/ffmpeg<7:6.1.1-3ubuntu5+
7:6.1.1-3ubuntu5+
debian/ffmpeg<=7:5.1.5-0+deb12u1<=7:6.1.1-4<=7:6.1.1-5
7:4.3.6-0+deb11u1
7:4.3.7-0+deb11u1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2024-31582?

    CVE-2024-31582 has been classified as a high severity vulnerability due to its potential to cause undefined behavior and Denial of Service.

  • How do I fix CVE-2024-31582?

    To mitigate CVE-2024-31582, update FFmpeg to version 7:6.1.1-3ubuntu5+ or a later version, or use 7:6.0-6ubuntu1.1 for Ubuntu.

  • Which versions of FFmpeg are affected by CVE-2024-31582?

    CVE-2024-31582 affects FFmpeg version n6.1 and earlier.

  • What impact does CVE-2024-31582 have on systems?

    CVE-2024-31582 can lead to undefined behavior or Denial of Service when processing specially crafted inputs.

  • Is there a workaround for CVE-2024-31582?

    There are no known workarounds for CVE-2024-31582; updating to a patched version is recommended.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203