{"id":"UBUNTU-CVE-2024-5171","details":"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.","modified":"2026-04-22T15:18:48.852555Z","published":"2024-06-04T00:00:00Z","related":["USN-6815-1","USN-7397-1"],"upstream":["CVE-2024-5171"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-5171"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-5171"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6815-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7397-1"}],"affected":[{"package":{"name":"aom","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/aom@1.0.0.errata1-3+deb11u1ubuntu0.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.0.errata1-3+deb11u1ubuntu0.1"}]}],"versions":["1.0.0-3","1.0.0.errata1-2","1.0.0.errata1-2ubuntu3","1.0.0.errata1-3","1.0.0.errata1-3build1","1.0.0.errata1-3+deb11u1build0.20.04.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"aom-tools","binary_version":"1.0.0.errata1-3+deb11u1ubuntu0.1"},{"binary_name":"libaom0","binary_version":"1.0.0.errata1-3+deb11u1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-5171.json"}},{"package":{"name":"aom","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/aom@3.3.0-1ubuntu0.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.0-1ubuntu0.1"}]}],"versions":["1.0.0.errata1-3build1","3.2.0-2","3.3.0-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"aom-tools","binary_version":"3.3.0-1ubuntu0.1"},{"binary_name":"libaom3","binary_version":"3.3.0-1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-5171.json"}},{"package":{"name":"aom","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/aom@3.8.2-2ubuntu0.1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.8.2-2ubuntu0.1"}]}],"versions":["3.6.1-1","3.7.0-1","3.7.1-1","3.8.1-1","3.8.2-2build1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"aom-tools","binary_version":"3.8.2-2ubuntu0.1"},{"binary_name":"libaom3","binary_version":"3.8.2-2ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-5171.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"},{"type":"Ubuntu","score":"medium"}]}