CVE-2024-5171: heap buffer overflow in libaom

Published Jun 4, 2024
·
Updated

Integer overflow in libaom internal function imgallochelper can lead to heap buffer overflow. This function can be reached via 3 callers:

Calling aomimgalloc() with a large value of the dw, dh, or align parameter may result in integer overflows in the calculations of buffer sizes and offsets and some fields of the returned aomimaget struct may be invalid. Calling aomimgwrap() with a large value of the dw, dh, or align parameter may result in integer overflows in the calculations of buffer sizes and offsets and some fields of the returned aomimaget struct may be invalid. Calling aomimgallocwithborder() with a large value of the dw, dh, align, sizealign, or border parameter may result in integer overflows in the calculations of buffer sizes and offsets and some fields of the returned aomimaget struct may be invalid.

Affected Software

2 affected componentsFixes available
AOMedia Libaom>=1.0.0<=3.9.0
debian/aom<=1.0.0.errata1-3+deb11u1
1.0.0.errata1-3+deb11u23.6.0-1+deb12u13.12.0-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/aom to a version that resolves this vulnerability.

    Fixed in 1.0.0.errata1-3+deb11u2Fixed in 3.6.0-1+deb12u1Fixed in 3.12.0-1

Event History

Jun 5, 2024
CVE Published
via MITRE·07:11 PM
Data Sourced
via MITRE·07:11 PM
DescriptionWeakness
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeaknessAffected Software
Jun 26, 2024
Data Sourced
via Launchpad·07:58 PM
Description
Apr 4, 2025
Data Sourced
via Ubuntu·04:13 PM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-5171?

CVE-2024-5171 is classified as a high severity vulnerability due to its potential for a heap buffer overflow.

2

How do I fix CVE-2024-5171?

To fix CVE-2024-5171, update the aom package to version 3.8.2-2ubuntu0.1 or 3.9.0 depending on your distribution.

3

What products are affected by CVE-2024-5171?

CVE-2024-5171 affects aom package versions prior to 3.8.2-2ubuntu0.1 and any versions before 3.9.0 in the libaom library.

4

What is the nature of the vulnerability in CVE-2024-5171?

CVE-2024-5171 involves an integer overflow in the libaom internal function img_alloc_helper, which can lead to heap buffer overflow.

5

How can I determine if my software is vulnerable to CVE-2024-5171?

Check if your installed version of the aom package is lower than 3.8.2-2ubuntu0.1 for Ubuntu or lower than 3.9.0 for other distributions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203