Skip to content
Fencer Vulns
critical 9.8

CVE-2024-5171 json

heap buffer overflow in libaom

published 2024-06-05 2 y ago modified 2026-07-25 3 mo ago also EUVD-2024-46420 , JLSEC-2026-122

cvss
9.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.3%
EPSS 1.3% chance of exploitation in 30 days, percentile 69%
public exploits
0
none known

Summary

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.

Patch / fix

  • julia libaom_jll 3.11.0+0
  • libaom libaom 3.9.0
  • aom Debian 12 3.6.0-1+deb12u1
  • aom Debian 14, Debian 13 3.8.2-3

debian advisories DEBIAN-CVE-2024-5171

  • aom Ubuntu 20.04 LTS 1.0.0.errata1-3+deb11u1ubuntu0.1
  • aom Ubuntu 22.04 LTS 3.3.0-1ubuntu0.1
  • aom Ubuntu 24.04 LTS 3.8.2-2ubuntu0.1

ubuntu advisories UBUNTU-CVE-2024-5171

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • libaom SLE Module for Desktop Applications 15 SP6, openSUSE Leap 15.6 3.7.1-150600.3.3.1
  • libaom SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Module for Basesystem 15 SP5 +5 more 3.2.0-150400.3.6.1
  • libaom SLES for SAP 15 SP3, SLES for SAP 15 SP2, SLES 15 SP3-LTSS +4 more 1.0.0-150200.3.18.1

suse advisories SUSE-SU-2024:2056-1SUSE-SU-2024:2052-1SUSE-SU-2024:2030-1

  • aom Alpine 3.24, Alpine 3.23, Alpine 3.22 +2 more 3.9.1-r0

alpine advisories ALPINE-CVE-2024-5171

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-5171 updated cvss 8.1

libaom: Integer overflow in internal function img_alloc_helper

  • Red Hat Enterprise Linux 7 firefox, thunderbird
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 8 firefox, thunderbird Red Hat Enterprise Linux 9 firefox, firefox-x11, thunderbird
    affected: no fix planned “Will not fix”

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
total
Assessed
2 y ago

Exploit prediction

1.26% chance of exploitation in the next 30 days, higher than 69% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • issues.chromium.org https://issues.chromium.org/issues/332382766 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 4.0 10.0 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
CNA 4.0 10.0 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
julia libaom_jll
<3.11.0+0
3.11.0+0

Affected products

  • libaom libaom

Classification

Weakness
  • CWE-20 Improper Input Validation
  • CWE-190 Integer Overflow or Wraparound

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.