# CVE-2024-5171: heap buffer overflow in libaom

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability: affected before 3.9.0 (CNA); fix release not confirmed
- Status: published
- Published: 2024-06-05 · Modified: 2025-02-13
- Aliases: ALPINE-CVE-2024-5171, MGASA-2024-0220, SUSE-SU-2024:2030-1, SUSE-SU-2024:2052-1, SUSE-SU-2024:2056-1, UBUNTU-CVE-2024-5171, USN-6815-1, USN-7397-1, DEBIAN-CVE-2024-5171, DLA-3881-1, DSA-5753-1
- Record: https://cvemate.com/vulnerability/CVE-2024-5171 · JSON: https://cvemate.com/vulnerability/CVE-2024-5171/json

## Description

```text
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.
```

## Signals

- CVSS: 10 critical (v4.0, CVE.org) CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
- EPSS: 1.264%, percentile 70.687%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected (first 20 of 24)

- aomedia libaom: ≥ 1.0.0, ≤ 3.9.0
- alpine aom (Alpine Linux): \< 3.9.1-r0
- debian aom (Debian): \< 3.8.2-3 \| \< 1.0.0.errata1-3+deb11u2 \| \< 3.6.0-1+deb12u1
- ubuntu aom (Ubuntu): \< 1.0.0.errata1-3+deb11u1ubuntu0.1 \| \< 3.3.0-1ubuntu0.1 \| \< 3.8.2-2ubuntu0.1
- libaom libaom: ≥ 1.0.0, \< 3.9.0
- mageia aom (Mageia): \< 3.6.0-1.1.mga9
- opensuse libaom-devel-doc&distro=openSUSE Leap 15.6 (openSUSE): \< 3.7.1-150600.3.3.1
- opensuse libaom&distro=openSUSE Leap 15.5 (openSUSE): \< 3.2.0-150400.3.6.1
- opensuse libaom&distro=openSUSE Leap 15.6 (openSUSE): \< 3.7.1-150600.3.3.1
- suse libaom&distro=SUSE Enterprise Storage 7.1 (SUSE Linux Enterprise): \< 1.0.0-150200.3.18.1
- suse libaom&distro=SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS (SUSE Linux Enterprise): \< 1.0.0-150200.3.18.1
- suse libaom&distro=SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS (SUSE Linux Enterprise): \< 1.0.0-150200.3.18.1
- suse libaom&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS (SUSE Linux Enterprise): \< 3.2.0-150400.3.6.1
- suse libaom&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS (SUSE Linux Enterprise): \< 3.2.0-150400.3.6.1
- suse libaom&distro=SUSE Linux Enterprise Module for Basesystem 15 SP5 (SUSE Linux Enterprise): \< 3.2.0-150400.3.6.1
- suse libaom&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP6 (SUSE Linux Enterprise): \< 3.7.1-150600.3.3.1
- suse libaom&distro=SUSE Linux Enterprise Server 15 SP2-LTSS (SUSE Linux Enterprise): \< 1.0.0-150200.3.18.1
- suse libaom&distro=SUSE Linux Enterprise Server 15 SP3-LTSS (SUSE Linux Enterprise): \< 1.0.0-150200.3.18.1
- suse libaom&distro=SUSE Linux Enterprise Server 15 SP4-LTSS (SUSE Linux Enterprise): \< 3.2.0-150400.3.6.1
- suse libaom&distro=SUSE Linux Enterprise Server for SAP Applications 15 SP2 (SUSE Linux Enterprise): \< 1.0.0-150200.3.18.1

## References

- <https://issues.chromium.org/issues/332382766>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6HYUEHZ35ZPY2EONVZCGO6LPT3AMLZCP/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U5NRNCEYS246CYGOR32MF7OGKWOWER22/>
- <https://lists.debian.org/debian-lts-announce/2024/09/msg00024.html>
- <https://security.alpinelinux.org/vuln/CVE-2024-5171>
- <https://advisories.mageia.org/MGASA-2024-0220.html>
- <https://bugs.mageia.org/show_bug.cgi?id=33280>
- <https://ubuntu.com/security/notices/USN-6815-1>
- <https://www.suse.com/support/update/announcement/2024/suse-su-20242030-1/>
- <https://bugzilla.suse.com/1226020>
- <https://www.suse.com/security/cve/CVE-2024-5171>
- <https://www.suse.com/support/update/announcement/2024/suse-su-20242052-1/>
- <https://www.suse.com/support/update/announcement/2024/suse-su-20242056-1/>
- <https://ubuntu.com/security/CVE-2024-5171>
- <https://www.cve.org/CVERecord?id=CVE-2024-5171>
- <https://ubuntu.com/security/notices/USN-7397-1>
- <https://security-tracker.debian.org/tracker/CVE-2024-5171>

---

Data as of 2026-12-05T09:09:04.873Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
