Vulnerability · Published Jun 3, 2024 · Assigned by Google
CVE-2024-5197Integer overflow in libvpx
Medium 5.9
In plain English
A medium-severity integer overflow in libvpx from Chromium. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
There exists interger overflows in libvpx in versions prior to 1.14.1. Calling vpx_img_alloc() with a large value of the d_w, d_h, or align parameter may result in integer overflows in the calculations of buffer sizes and offsets and some fields of the returned vpx_image_t struct may be invalid. Calling vpx_img_wrap() with a large value of the d_w, d_h, or stride_align parameter may result in integer overflows in the calculations of buffer sizes and offsets and some fields of the returned vpx_image_t struct may be invalid. We recommend upgrading to version 1.14.1 or beyond
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | libvpx | 1.7.0-11.el8_10 | ALSA-2024:5941 |
| AlmaLinux:9 | libvpx | 1.9.0-8.el9_5 | ALSA-2024:9827 |
| AlmaLinux:8 | libvpx-devel | 1.7.0-11.el8_10 | ALSA-2024:5941 |
| AlmaLinux:9 | libvpx-devel | 1.9.0-8.el9_5 | ALSA-2024:9827 |
| Alpine:v3.20 | libvpx | 1.14.1-r0 | ALPINE-CVE-2024-5197 |
| Alpine:v3.21 | libvpx | 1.14.1-r0 | ALPINE-CVE-2024-5197 |
| Alpine:v3.22 | libvpx | 1.14.1-r0 | ALPINE-CVE-2024-5197 |
| Alpine:v3.23 | libvpx | 1.14.1-r0 | ALPINE-CVE-2024-5197 |
| Alpine:v3.24 | libvpx | 1.14.1-r0 | ALPINE-CVE-2024-5197 |
| Debian:12 | libvpx | 1.12.0-1+deb12u3 | DSA-5722-1 |
| Debian:12 | libvpx | 1.12.0-1+deb12u3 | DEBIAN-CVE-2024-5197 |
| Debian:13 | libvpx | 1.14.1-1 | DEBIAN-CVE-2024-5197 |
| Debian:14 | libvpx | 1.14.1-1 | DEBIAN-CVE-2024-5197 |
| Rocky Linux:8 | libvpx | 0:1.7.0-11.el8_10 | RLSA-2024:5941 |
| Rocky Linux:9 | libvpx | 0:1.9.0-8.el9_5 | RLSA-2024:9827 |
| Ubuntu:22.04:LTS | libvpx | 1.11.0-2ubuntu2.3 | USN-6814-1 |
| Ubuntu:22.04:LTS | libvpx | 1.11.0-2ubuntu2.3 | UBUNTU-CVE-2024-5197 |
| Ubuntu:24.04:LTS | libvpx | 1.14.0-1ubuntu2.1 | UBUNTU-CVE-2024-5197 |
| Ubuntu:24.04:LTS | libvpx | 1.14.0-1ubuntu2.1 | USN-6814-1 |
Affected products (as reported)
Weakness: CWE-190 · Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:L/VI:H/VA:N/SC:L/SI:L/SA:N