CVE-2024-31581: Out-of-bounds Read
FFmpeg version n6.1 was discovered to contain an improper validation of array index vulnerability in libavcodec/cbsh266syntaxtemplate.c. This vulnerability allows attackers to cause undefined behavior within the application.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- 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:5.1.9-0+deb12u1Fixed in 7:7.1.5-0+deb13u1Fixed in 7:9.0.2-4
Event History
Frequently Asked Questions
What is the severity of CVE-2024-31581?
CVE-2024-31581 has been classified as a high-severity vulnerability due to its potential to cause undefined behavior in the application.
How do I fix CVE-2024-31581?
To fix CVE-2024-31581, upgrade to the latest version of FFmpeg that addresses this vulnerability.
What causes the vulnerability in CVE-2024-31581?
CVE-2024-31581 is caused by improper validation of array indices in the FFmpeg libavcodec library.
Which versions of FFmpeg are affected by CVE-2024-31581?
FFmpeg version n6.1 is specifically affected by CVE-2024-31581.
What types of attacks can exploit CVE-2024-31581?
Exploitation of CVE-2024-31581 can lead to undefined behavior, potentially allowing attackers to crash the application or execute arbitrary code.