CVE-2024-5171 heap buffer overflow in libaom
CriticalCVSS 10.0
EPSS 1.3%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
- Technology
- UbuntuDebian
Description
Integer overflow in libaom internal function img_alloc_helper can lead to heap buffer overflow. This function can be reached via 3 callers:
- Calling aom_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 aom_image_t struct may be invalid.
- Calling aom_img_wrap() 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 aom_image_t struct may be invalid.
- Calling aom_img_alloc_with_border() with a large value of the d_w, d_h, align, size_align, or border parameter may result in integer overflows in the calculations of buffer sizes and offsets and some fields of the returned aom_image_t struct may be invalid.
Upgrade path
12 packages: 12 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| alpine/aom(Alpine v3.20) | < 3.9.1-r0 | 3.9.1-r0 | Fixed |
| alpine/aom(Alpine v3.21) | < 3.9.1-r0 | 3.9.1-r0 | Fixed |
| alpine/aom(Alpine v3.22) | < 3.9.1-r0 | 3.9.1-r0 | Fixed |
| alpine/aom(Alpine v3.23) | < 3.9.1-r0 | 3.9.1-r0 | Fixed |
| alpine/aom(Alpine v3.24) | < 3.9.1-r0 | 3.9.1-r0 | Fixed |
| aomedia libaom | >= 1.0.0, <= 3.9.0 | after 3.9.0 | Fixed |
| debian/aom(Debian 12) | < 3.6.0-1+deb12u1; = 3.6.0-1 | 3.6.0-1+deb12u1 | Fixed |
| debian/aom(Debian 13) | < 3.8.2-3 | 3.8.2-3 | Fixed |
| debian/aom(Debian 14) | < 3.8.2-3 | 3.8.2-3 | Fixed |
| libaom | >= 1.0.0, < 3.9.0 | 3.9.0 | Fixed |
| ubuntu/aom(Ubuntu 22.04) | < 3.3.0-1ubuntu0.1 | 3.3.0-1ubuntu0.1 | Fixed |
| ubuntu/aom(Ubuntu 24.04) | < 3.8.2-2ubuntu0.1 | 3.8.2-2ubuntu0.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/aom(Debian:12) | < 3.6.0-1+deb12u1 | 3.6.0-1+deb12u1 |
| debian/aom(Debian:12) | = 3.6.0-1 | No fix listed |
| debian/aom(Debian:13) | < 3.8.2-3 | 3.8.2-3 |
| debian/aom(Debian:14) | < 3.8.2-3 | 3.8.2-3 |
| ubuntu/aom(Ubuntu:22.04) | < 3.3.0-1ubuntu0.1 | 3.3.0-1ubuntu0.1 |
| libaom | >= 1.0.0, < 3.9.0 | 3.9.0 |
| alpine/aom(Alpine:v3.20) | < 3.9.1-r0 | 3.9.1-r0 |
| alpine/aom(Alpine:v3.21) | < 3.9.1-r0 | 3.9.1-r0 |
| alpine/aom(Alpine:v3.22) | < 3.9.1-r0 | 3.9.1-r0 |
| alpine/aom(Alpine:v3.23) | < 3.9.1-r0 | 3.9.1-r0 |
| alpine/aom(Alpine:v3.24) | < 3.9.1-r0 | 3.9.1-r0 |
| ubuntu/aom(Ubuntu:24.04) | < 3.8.2-2ubuntu0.1 | 3.8.2-2ubuntu0.1 |
| aomedia libaom | >= 1.0.0, <= 3.9.0 | No fix listed |
References
- Debian Security Tracker CVE-2024-5171 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-6815-1 vendor-advisory
- USN-7397-1 vendor-advisory
- www.cve.org
- issues.chromium.org exploit
- lists.fedoraproject.org third-party-advisory
- lists.fedoraproject.org third-party-advisory
- lists.debian.org
- security.alpinelinux.org vendor-advisory