# CVE-2024-5171: aom-tools: Integer overflow in libaom internal function img_alloc_helper can lead toheap buffer overflow

CVE-2024-5171 is fixed in 6 products on 1 platform, first by aom-tools 1.0.0.errata1-3+deb11u1ubuntu0.1, released June 3, 2024. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2024-5171
- Priority: High
- CVSS: 9.8 (Medium)
- EPSS: 0.0126
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jun 3, 2024

## Description

Integer overflow in libaom internal function img_alloc_helper can lead toheap 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 alignparameter may result in integer overflows in the calculations of buffersizes and offsets and some fields of the returned aom_image_t struct may beinvalid.  *  Calling aom_img_wrap() with a large value of the d_w, d_h, or alignparameter may result in integer overflows in the calculations of buffersizes and offsets and some fields of the returned aom_image_t struct may beinvalid.  *  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 overflowsin the calculations of buffer sizes and offsets and some fields of thereturned aom_image_t struct may be invalid.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | aom Debian 11.6 (bullseye) | 1.0.0.errata1-3+deb11u2 | [DLA-3881-1](https://patchblox.com/security/data/fix/linux/dla-3881-1.md) | Sep 7, 2024 |
| Linux | aom Debian 12.15 (bookworm) | 3.6.0-1+deb12u1 | [DSA-5753-1](https://patchblox.com/security/data/fix/linux/dsa-5753-1.md) | Aug 21, 2024 |
| Linux | aom Debian 13.5 (trixie) | 3.8.2-3 | [DEBIAN-CVE-2024-5171](https://patchblox.com/security/data/fix/linux/debian-cve-2024-5171.md) | Jun 5, 2024 |
| Linux | aom Debian 14 | 3.8.2-3 | [DEBIAN-CVE-2024-5171](https://patchblox.com/security/data/fix/linux/debian-cve-2024-5171.md) | Jun 5, 2024 |
| Linux | aom-tools Ubuntu 20.04 LTS (focal) | 1.0.0.errata1-3+deb11u1ubuntu0.1 | [aom-tools 1.0.0.errata1-3+deb11u1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-aom-tools-1.0.0.errata1-3-deb11u1ubuntu0.1.md) | Jun 3, 2024 |
| Linux | aom-tools Ubuntu 22.04.1 LTS (jammy) | 3.3.0-1ubuntu0.1 | [aom-tools 3.3.0-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-aom-tools-3.3.0-1ubuntu0.1.md) | Jun 3, 2024 |
| Linux | aom-tools Ubuntu 24.04.5 LTS (noble) | 3.8.2-2ubuntu0.1 | [aom-tools 3.8.2-2ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-aom-tools-3.8.2-2ubuntu0.1.md) | Jun 3, 2024 |
| Linux | aom-tools Ubuntu 24.10 (oracular) | 3.8.2-2ubuntu1 | [aom-tools 3.8.2-2ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-aom-tools-3.8.2-2ubuntu1.md) | Jun 4, 2024 |
| Linux | libaom opensuse-leap 15.6 | 3.7.1-150600.3.3.1 | [SUSE-SU-2024:2056-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2056-1.md) | Jun 18, 2024 |
| Linux | libaom sles 15.6 | 3.7.1-150600.3.3.1 | [SUSE-SU-2024:2056-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2056-1.md) | Jun 18, 2024 |
| Linux | libaom-devel-doc opensuse-leap 15.6 | 3.7.1-150600.3.3.1 | [SUSE-SU-2024:2056-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2056-1.md) | Jun 18, 2024 |
| Linux | libaom0 Ubuntu 20.04 LTS (focal) | 1.0.0.errata1-3+deb11u1ubuntu0.1 | [libaom0 1.0.0.errata1-3+deb11u1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libaom0-1.0.0.errata1-3-deb11u1ubuntu0.1.md) | Jun 3, 2024 |
| Linux | libaom3 Ubuntu 22.04.1 LTS (jammy) | 3.3.0-1ubuntu0.1 | [libaom3 3.3.0-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libaom3-3.3.0-1ubuntu0.1.md) | Jun 3, 2024 |
| Linux | libaom3 Ubuntu 24.04.5 LTS (noble) | 3.8.2-2ubuntu0.1 | [libaom3 3.8.2-2ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libaom3-3.8.2-2ubuntu0.1.md) | Jun 3, 2024 |
| Linux | libaom3 Ubuntu 24.10 (oracular) | 3.8.2-2ubuntu1 | [libaom3 3.8.2-2ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-libaom3-3.8.2-2ubuntu1.md) | Jun 4, 2024 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
