CVE-2024-31578: Use After Free
FFmpeg version n6.1.1 was discovered to contain a heap use-after-free via the avhwframectxinit function.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/ffmpegto a version that resolves this vulnerability.Fixed in 7:3.4.11-0ubuntu0.1+ - Upgrade
Upgrade
ubuntu/ffmpegto a version that resolves this vulnerability.Fixed in 7:4.2.7-0ubuntu0.1+ - Upgrade
Upgrade
ubuntu/ffmpegto a version that resolves this vulnerability.Fixed in 7:4.4.2-0ubuntu0.22.04.1+ - Upgrade
Upgrade
ubuntu/ffmpegto a version that resolves this vulnerability.Fixed in 7:6.0-6ubuntu1.1 - Upgrade
Upgrade
ubuntu/ffmpegto a version that resolves this vulnerability.Fixed in 7:6.1.1-3ubuntu5+ - Upgrade
Upgrade
debian/ffmpegto a version that resolves this vulnerability.Fixed in 7:7.0.1-3 - Upgrade
Upgrade
debian/ffmpegto a version that resolves this vulnerability.Fixed in 7:7.1.5-0+deb13u1Fixed in 7:9.0.2-4 - Upgrade
Upgrade
alpine/ffmpegto a version that resolves this vulnerability.Fixed in 7.1.1-r0
Event History
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.