CVEfocus › CVE database › CVE-2024-5171

CVE-2024-5171heap buffer overflow in libaom

CVSS 10.0 CriticalEPSS 1.7% (higher than 78% of CVEs)Published 2024-06-05Updated 2025-02-13Assigner: Google

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.

CWE-20

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

11Fixed
7Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04aomFixed3.8.2-2ubuntu0.1UBUNTU-CVE-2024-5171
Ubuntu 22.04aomFixed3.3.0-1ubuntu0.1UBUNTU-CVE-2024-5171
Ubuntu 20.04aomFixed1.0.0.errata1-3+deb11u1ubuntu0.1UBUNTU-CVE-2024-5171
Debian 14aomFixed3.8.2-3DEBIAN-CVE-2024-5171
Debian 13aomFixed3.8.2-3DEBIAN-CVE-2024-5171
Debian 12aomFixed3.6.0-1+deb12u1DEBIAN-CVE-2024-5171
Red Hat Enterprise Linux 9firefoxWill not fix
Will not fix
Red Hat Enterprise Linux 9firefox-x11Will not fix
Will not fix
Red Hat Enterprise Linux 9thunderbirdWill not fix
Will not fix
Red Hat Enterprise Linux 8firefoxWill not fix
Will not fix
Red Hat Enterprise Linux 8thunderbirdWill not fix
Will not fix
Red Hat Enterprise Linux 7firefoxWill not fix
Out of support scope
Red Hat Enterprise Linux 7thunderbirdWill not fix
Out of support scope
Alpine Linux 3.24aomFixed3.9.1-r0ALPINE-CVE-2024-5171
Alpine Linux 3.23aomFixed3.9.1-r0ALPINE-CVE-2024-5171
Alpine Linux 3.22aomFixed3.9.1-r0ALPINE-CVE-2024-5171
Alpine Linux 3.21aomFixed3.9.1-r0ALPINE-CVE-2024-5171
Alpine Linux 3.20aomFixed3.9.1-r0ALPINE-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.

References

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.