Skip to content
OpenAdvisories
Critical · 10.0 CVE-2024-5171 EUVD-2024-46420GHSA-592c-fmq9-g63c

heap buffer overflow in libaom

Published Jun 5, 2024 · Updated Feb 13, 2025 · Assigned by Google

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.

Affected products

VendorProductAffectedFixed
libaom libaom 1.0.0 – < 3.9.0 3.9.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 aom 3.8.2-3 —
Debian 13 aom 3.8.2-3 —
Debian 12 aom 3.6.0-1+deb12u1 DSA-5753-1
Debian 11 aom 1.0.0.errata1-3+deb11u2 DLA-3881-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS aom 3.8.2-2ubuntu0.1 USN-6815-1
Ubuntu 22.04 LTS aom 3.3.0-1ubuntu0.1 USN-7397-1
Ubuntu 20.04 LTS aom 1.0.0.errata1-3+deb11u1ubuntu0.1 USN-7397-1
ReleasePackageFixed inAdvisory
SLES 15 SP6 libaom 3.7.1-150600.3.3.1 SUSE-SU-2024:2056-1
SLES 15 SP5 libaom 3.2.0-150400.3.6.1 SUSE-SU-2024:2052-1
SLES 15 SP4 libaom 3.2.0-150400.3.6.1 SUSE-SU-2024:2052-1
SLES 15 SP3 libaom 1.0.0-150200.3.18.1 SUSE-SU-2024:2030-1
SLES 15 SP2 libaom 1.0.0-150200.3.18.1 SUSE-SU-2024:2030-1
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP4 libaom 3.2.0-150400.3.6.1 SUSE-SU-2024:2052-1
SLES for SAP 15 SP3 libaom 1.0.0-150200.3.18.1 SUSE-SU-2024:2030-1
SLES for SAP 15 SP2 libaom 1.0.0-150200.3.18.1 SUSE-SU-2024:2030-1
SLE HPC 15 SP4 libaom 3.2.0-150400.3.6.1 SUSE-SU-2024:2052-1
SLE HPC 15 SP3 libaom 1.0.0-150200.3.18.1 SUSE-SU-2024:2030-1
SLE HPC 15 SP2 libaom 1.0.0-150200.3.18.1 SUSE-SU-2024:2030-1
SUSE Manager Server 4.3 libaom 3.2.0-150400.3.6.1 SUSE-SU-2024:2052-1
SUSE Manager Proxy 4.3 libaom 3.2.0-150400.3.6.1 SUSE-SU-2024:2052-1
SUSE Enterprise Storage 7.1 libaom 1.0.0-150200.3.18.1 SUSE-SU-2024:2030-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.6 libaom +1 3.7.1-150600.3.3.1 SUSE-SU-2024:2056-1
openSUSE Leap 15.5 libaom 3.2.0-150400.3.6.1 SUSE-SU-2024:2052-1
ReleasePackageFixed inAdvisory
Alpine v3.24 aom 3.9.1-r0 —
Alpine v3.23 aom 3.9.1-r0 —
Alpine v3.22 aom 3.9.1-r0 —
Alpine v3.21 aom 3.9.1-r0 —
Alpine v3.20 aom 3.9.1-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 libao No fix yet —

Advisories 8

References