{"id":"CVE-2024-5171","aliases":["CVE-2024-5171"],"related":[],"kind":"vulnerability","state":"published","title":"heap buffer overflow in libaom","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"El desbordamiento de enteros en la función interna de libaom img_alloc_helper puede provocar un desbordamiento del búfer del montón. Se puede acceder a esta función a través de 3 llamadores: * Llamar a aom_img_alloc() con un valor grande del parámetro d_w, d_h o align puede resultar en desbordamientos de enteros en los cálculos de tamaños y compensaciones del búfer y algunos campos de la estructura aom_image_t devuelta pueden ser inválido. * Llamar a aom_img_wrap() con un valor grande del parámetro d_w, d_h o align puede provocar desbordamientos de enteros en los cálculos de tamaños y compensaciones del búfer y algunos campos de la estructura aom_image_t devuelta pueden no ser válidos. * Llamar a aom_img_alloc_with_border() con un valor grande del parámetro d_w, d_h, align, size_align o border puede provocar desbordamientos de enteros en los cálculos de tamaños y compensaciones del búfer y algunos campos de la estructura aom_image_t devuelta pueden no ser válidos.","source":"nvd"}],"published":"2024-06-05T19:11:12.987Z","modified":"2026-06-17T08:15:20.570Z","severity":{"scorer":"Google","scheme":"CVSS:4.0","vector":"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","score":10,"rating":"CRITICAL"},"severities":[{"scorer":"Google","scheme":"CVSS:4.0","vector":"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","score":10,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-20","CWE-190"],"affected":[{"ranges":[{"type":"custom","introduced":"1.0.0","fixed":"3.9.0","status":"affected"}],"vendor":"libaom","product":"libaom","repo":"https://aomedia.googlesource.com/aom/","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"1.0.0","fixed":"3.9.0","status":"affected"}],"vendor":"libaom","product":"libaom","cpe":"cpe:2.3:a:libaom:libaom:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"1.0.0","lastAffected":"3.9.0"}],"vendor":"aomedia","product":"libaom","cpe":"cpe:2.3:a:aomedia:libaom:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://issues.chromium.org/issues/332382766","tags":["exploit","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6HYUEHZ35ZPY2EONVZCGO6LPT3AMLZCP/","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U5NRNCEYS246CYGOR32MF7OGKWOWER22/","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00024.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Google","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2024-06-07T17:15:17.406Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-5171","url":"https://www.cve.org/CVERecord?id=CVE-2024-5171","licence":"CVE Terms of Use","modified":"2025-02-13T17:53:49.724Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-5171","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-5171","licence":"Public domain","modified":"2026-06-17T08:15:20.570Z"}],"updatedAt":"2026-11-25T22:58:41.463Z","epss":{"score":0.01264,"percentile":0.70535,"date":"2026-12-01T12:00:22.000Z"}}