7.5
CWE
416
EPSS
0.043%
Advisory Published
Updated

CVE-2024-31578: Use After Free

First published: Wed Apr 17 2024(Updated: )

FFmpeg version n6.1.1 was discovered to contain a heap use-after-free via the av_hwframe_ctx_init function.

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

Affected SoftwareAffected VersionHow to fix
ubuntu/ffmpeg<7:3.4.11-0ubuntu0.1+
7:3.4.11-0ubuntu0.1+
ubuntu/ffmpeg<7:4.2.7-0ubuntu0.1+
7:4.2.7-0ubuntu0.1+
ubuntu/ffmpeg<7:4.4.2-0ubuntu0.22.04.1+
7:4.4.2-0ubuntu0.22.04.1+
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:4.3.6-0+deb11u1<=7:4.3.7-0+deb11u1<=7:5.1.5-0+deb12u1<=7:6.1.1-4<=7:6.1.1-5

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-31578?

    CVE-2024-31578 is classified as a critical vulnerability due to its potential to cause a heap use-after-free condition.

  • How do I fix CVE-2024-31578?

    To mitigate CVE-2024-31578, you should upgrade to a fixed version of FFmpeg as specified for your distribution.

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

    FFmpeg version n6.1.1 is specifically affected by CVE-2024-31578, as well as other versions prior to the recommended remedial updates.

  • What platforms are impacted by CVE-2024-31578?

    CVE-2024-31578 impacts Ubuntu and Debian distributions, particularly the outlined versions of the FFmpeg package.

  • Is there a known exploit for CVE-2024-31578?

    While specific exploits for CVE-2024-31578 were not publicly disclosed, the nature of the vulnerability could lead to exploitation if left unpatched.

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