{"id":"ALPINE-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:\n\n\n  *  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.\n  *  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.\n  *  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-03-09T01:21:20.223722Z","published":"2024-06-05T20:15:13.800Z","upstream":["CVE-2024-5171"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2024-5171"}],"affected":[{"package":{"name":"aom","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/aom?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.1-r0"}]}],"versions":["1.0.0-r0","1.0.0-r1","1.0.0-r2","1.0.0-r3","3.1.1-r0","3.1.2-r0","3.2.0-r0","3.2.0-r1","3.3.0-r0","3.4.0-r0","3.5.0-r0","3.5.0-r1","3.6.0-r0","3.6.0-r1","3.6.0-r2","3.6.0-r3","3.6.1-r0","3.7.0-r0","3.7.1-r0","3.8.1-r0","3.8.2-r0","3.9.0-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2024-5171.json"}},{"package":{"name":"aom","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/aom?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.1-r0"}]}],"versions":["1.0.0-r0","1.0.0-r1","1.0.0-r2","1.0.0-r3","3.1.1-r0","3.1.2-r0","3.2.0-r0","3.2.0-r1","3.3.0-r0","3.4.0-r0","3.5.0-r0","3.5.0-r1","3.6.0-r0","3.6.0-r1","3.6.0-r2","3.6.0-r3","3.6.1-r0","3.7.0-r0","3.7.1-r0","3.8.1-r0","3.8.2-r0","3.9.0-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2024-5171.json"}},{"package":{"name":"aom","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/aom?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.1-r0"}]}],"versions":["1.0.0-r0","1.0.0-r1","1.0.0-r2","1.0.0-r3","3.1.1-r0","3.1.2-r0","3.2.0-r0","3.2.0-r1","3.3.0-r0","3.4.0-r0","3.5.0-r0","3.5.0-r1","3.6.0-r0","3.6.0-r1","3.6.0-r2","3.6.0-r3","3.6.1-r0","3.7.0-r0","3.7.1-r0","3.8.1-r0","3.8.2-r0","3.9.0-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2024-5171.json"}},{"package":{"name":"aom","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/aom?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.1-r0"}]}],"versions":["1.0.0-r0","1.0.0-r1","1.0.0-r2","1.0.0-r3","3.1.1-r0","3.1.2-r0","3.2.0-r0","3.2.0-r1","3.3.0-r0","3.4.0-r0","3.5.0-r0","3.5.0-r1","3.6.0-r0","3.6.0-r1","3.6.0-r2","3.6.0-r3","3.6.1-r0","3.7.0-r0","3.7.1-r0","3.8.1-r0","3.8.2-r0","3.9.0-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2024-5171.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}