CVE-2024-5171

NameCVE-2024-5171
DescriptionInteger 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3881-1, DSA-5753-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
aom (PTS)bullseye1.0.0.errata1-3+deb11u1vulnerable
bullseye (security)1.0.0.errata1-3+deb11u2fixed
bookworm, bookworm (security)3.6.0-1+deb12u1fixed
sid, trixie3.9.1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
aomsourcebullseye1.0.0.errata1-3+deb11u2DLA-3881-1
aomsourcebookworm3.6.0-1+deb12u1DSA-5753-1
aomsource(unstable)3.8.2-3

Notes

https://issues.chromium.org/issues/332382766
https://aomedia.googlesource.com/aom/+/19d9966572a410804349e1a8ee2017fed49a6dab
https://aomedia.googlesource.com/aom/+/8156fb76d88845d716867d20333fd27001be47a8

Search for package or bug name: Reporting problems