| Name | CVE-2024-5171 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-3881-1, DSA-5753-1 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| aom (PTS) | bullseye | 1.0.0.errata1-3+deb11u1 | vulnerable |
| bullseye (security) | 1.0.0.errata1-3+deb11u2 | fixed | |
| bookworm | 3.6.0-1+deb12u2 | fixed | |
| bookworm (security) | 3.6.0-1+deb12u1 | fixed | |
| trixie | 3.12.1-1 | fixed | |
| forky, sid | 3.13.1-2 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| aom | source | bullseye | 1.0.0.errata1-3+deb11u2 | DLA-3881-1 | ||
| aom | source | bookworm | 3.6.0-1+deb12u1 | DSA-5753-1 | ||
| aom | source | (unstable) | 3.8.2-3 |
https://issues.chromium.org/issues/332382766
https://aomedia.googlesource.com/aom/+/19d9966572a410804349e1a8ee2017fed49a6dab
https://aomedia.googlesource.com/aom/+/8156fb76d88845d716867d20333fd27001be47a8