CVE-2024-5171
Published: 4 June 2024
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.
Notes
Author | Note |
---|---|
mdeslaur | per the google bug, also appears to affect libvpx which is CVE-2024-5197 |
Priority
Status
Package | Release | Status |
---|---|---|
aom Launchpad, Ubuntu, Debian |
focal |
Needs triage
|
jammy |
Needs triage
|
|
mantic |
Ignored
(end of life, was needs-triage)
|
|
noble |
Released
(3.8.2-2ubuntu0.1)
|
|
upstream |
Released
(3.9.0)
|
|
Patches: upstream: https://aomedia-review.googlesource.com/c/aom/+/188761 upstream: https://aomedia-review.googlesource.com/c/aom/+/188823 upstream: https://aomedia-review.googlesource.com/c/aom/+/189442 upstream: https://aomedia-review.googlesource.com/c/aom/+/189441 upstream: https://aomedia.googlesource.com/aom/+/19d9966572a410804349e1a8ee2017fed49a6dab upstream: https://aomedia.googlesource.com/aom/+/8156fb76d88845d716867d20333fd27001be47a8 |
Severity score breakdown
Parameter | Value |
---|---|
Base score | 9.8 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | None |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | High |
Availability impact | High |
Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |