CVE-2024-5171

heap buffer overflow in libaom

Published Jun 5, 2024 CVSS 4.0 · 10 Critical EPSS 1.3% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3881-1 aom security update
Debian DSA Debian DSA DSA-5753-1 aom security update
EUVD EUVD EUVD-2024-46420 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.
Ubuntu USN Ubuntu USN USN-6815-1 AOM vulnerability
Ubuntu USN Ubuntu USN USN-7397-1 AOM vulnerability
History
Type Values Removed Values Added
Metrics epss

{'score': 0.0044}

epss

{'score': 0.00167}

Type Values Removed Values Added
Metrics epss

{'score': 0.00485}

epss

{'score': 0.0044}

Weaknesses

Sources

Status
PUBLISHED
Assigner
Google
Published
Updated
Feb 13, 2025, 5:53 PM
Reserved
May 21, 2024, 12:53 PM
Status
Modified
Published
Jun 5, 2024, 8:15 PM
Modified
Jun 17, 2026, 8:15 AM
Severity
Moderate
Public date
Jun 5, 2024, 12:00 AM