CVE-2024-5171heap buffer overflow in libaom
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.
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | aom | Fixed | 3.8.2-2ubuntu0.1 | UBUNTU-CVE-2024-5171 |
| Ubuntu 22.04 | aom | Fixed | 3.3.0-1ubuntu0.1 | UBUNTU-CVE-2024-5171 |
| Ubuntu 20.04 | aom | Fixed | 1.0.0.errata1-3+deb11u1ubuntu0.1 | UBUNTU-CVE-2024-5171 |
| Debian 14 | aom | Fixed | 3.8.2-3 | DEBIAN-CVE-2024-5171 |
| Debian 13 | aom | Fixed | 3.8.2-3 | DEBIAN-CVE-2024-5171 |
| Debian 12 | aom | Fixed | 3.6.0-1+deb12u1 | DEBIAN-CVE-2024-5171 |
| Red Hat Enterprise Linux 9 | firefox | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | firefox-x11 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | thunderbird | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | firefox | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | thunderbird | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | firefox | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | thunderbird | Will not fix Out of support scope | ||
| Alpine Linux 3.24 | aom | Fixed | 3.9.1-r0 | ALPINE-CVE-2024-5171 |
| Alpine Linux 3.23 | aom | Fixed | 3.9.1-r0 | ALPINE-CVE-2024-5171 |
| Alpine Linux 3.22 | aom | Fixed | 3.9.1-r0 | ALPINE-CVE-2024-5171 |
| Alpine Linux 3.21 | aom | Fixed | 3.9.1-r0 | ALPINE-CVE-2024-5171 |
| Alpine Linux 3.20 | aom | Fixed | 3.9.1-r0 | ALPINE-CVE-2024-5171 |
What the vendor says
As published in the CVE record by Google, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- libaom: affected: 1.0.0 to before 3.9.0; fixed in
3.9.0
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/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.