CVE-2024-5197: Integer overflow in libvpx
Last updated 4 February 2025
Other sources
There exists interger overflows in libvpx in versions prior to 1.14.1. Calling vpximgalloc() with a large value of the dw, dh, or align parameter may result in integer overflows in the calculations of buffer sizes and offsets and some fields of the returned vpximaget struct may be invalid. Calling vpximgwrap() with a large value of the dw, dh, or stridealign parameter may result in integer overflows in the calculations of buffer sizes and offsets and some fields of the returned vpximaget struct may be invalid. We recommend upgrading to version 1.14.1 or beyond
— Launchpad
WebM Project libvpx could allow a local authenticated attacker to execute arbitrary code on the system, caused by an integer overflow in the vpximgalloc() function. By sending a specially crafted request using the dw, dh, or align parameters, an attacker could exploit this vulnerability to execute arbitrary code on the system.
— IBM
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/libvpxto a version that resolves this vulnerability.Fixed in 1.9.0-1+deb11u3Fixed in 1.12.0-1+deb12u3Fixed in 1.15.0-1 - Upgrade
Upgrade
redhat/libvpxto a version that resolves this vulnerability.Fixed in 1.14.1 - Upgrade
Upgrade
libvpxto a version that resolves this vulnerability.Fixed in 1.14.1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-5197?
CVE-2024-5197 has a severe impact due to possible integer overflows that can lead to exploitable vulnerabilities.
How do I fix CVE-2024-5197?
To fix CVE-2024-5197, upgrade the libvpx package to version 1.14.1 or later.
Which versions of libvpx are affected by CVE-2024-5197?
CVE-2024-5197 affects libvpx versions prior to 1.14.1.
What are the potential consequences of CVE-2024-5197?
CVE-2024-5197 can lead to buffer overflows and instability in applications using the affected libvpx versions.
Are there specific distributions affected by CVE-2024-5197?
Yes, CVE-2024-5197 affects Debian and Ubuntu distributions with specific versions of the libvpx package.