Bug 2292396 (CVE-2024-5171) - CVE-2024-5171 libaom: Integer overflow in internal function img_alloc_helper
Summary: CVE-2024-5171 libaom: Integer overflow in internal function img_alloc_helper
Keywords:
Status: NEW
Alias: CVE-2024-5171
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2292397 2292398 2292399 2292400 2292402 2292403
Blocks: 2292404
TreeView+ depends on / blocked
 
Reported: 2024-06-14 13:21 UTC by Pedro Sampaio
Modified: 2025-06-16 14:55 UTC (History)
6 users (show)

Fixed In Version: libaom 3.9.0
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Pedro Sampaio 2024-06-14 13:21:16 UTC
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.

References:

https://issues.chromium.org/issues/332382766

Comment 1 Pedro Sampaio 2024-06-14 13:25:46 UTC
Created aom tracking bugs for this issue:

Affects: epel-all [bug 2292397]


Created chromium tracking bugs for this issue:

Affects: epel-all [bug 2292398]
Affects: fedora-all [bug 2292399]

Comment 2 Pedro Sampaio 2024-06-14 13:27:11 UTC
Created aom tracking bugs for this issue:

Affects: epel-all [bug 2292400]


Created chromium tracking bugs for this issue:

Affects: epel-all [bug 2292402]
Affects: fedora-all [bug 2292403]


Note You need to log in before you can comment on or make changes to this bug.