Skip to main content
Public proof of conceptFix available

CVE-2024-5171

A public proof of concept exists; no exploitation attested.

  • Published2024-06-05
  • Fixed in3.9.0
  • WeaknessCWE-190 · CWE-20

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2024-06-0520:15CVE publishedNVD

Versions per branch

CISA-ADP · NVD
Libaom
BranchAffectedFixed in
3.9≥ 1.0.0, < 3.9.03.9.0
Aomedia libaom
BranchAffectedFixed in
3.9≥ 1.0.0, ≤ 3.9.0no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As Google, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2024-06-05

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • aomUbuntu:24.04:LTSall versions · fixed in 3.8.2-2ubuntu0.1
  • aomUbuntu:22.04:LTSall versions · fixed in 3.3.0-1ubuntu0.1
  • aomUbuntu:20.04:LTSall versions · fixed in 1.0.0.errata1-3+deb11u1ubuntu0.1
  • aomopenEuler:24.03-LTSall versions · fixed in 3.8.0-2.oe2403
  • aomopenEuler:22.03-LTS-SP4all versions · fixed in 1.0.0-2.oe2203sp4
  • aomopenEuler:20.03-LTS-SP4all versions · fixed in 1.0.0-2.oe2003sp4
  • aomMageia:9all versions · fixed in 3.6.0-1.1.mga9
  • aomDebian:14all versions · fixed in 3.8.2-3

31 more package ranges on OSV.dev

Vendor advisories

  • CVE-2024-5171 Red Hat Product Security20 known affected

    libaom: Integer overflow in internal function img_alloc_helper

    firefox as a component of Red Hat Enterprise Linux 7 · firefox.src as a component of Red Hat Enterprise Linux 7 · thunderbird as a component of Red Hat Enterprise Linux 7 · +17 more

Full record on NVD

Fix

  1. Update Libaom to 3.9.0
  2. No fix planned, says the vendor Red Hat Product Security CVE-2024-5171 · 4 productsOut of support scope
  3. No fix planned, says the vendor Red Hat Product Security CVE-2024-5171 · 16 productsWill not fix

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionpoc2024-06-07
  • CNACVSS 4.010known since 2026-10-23
  • NVDCVSS 3.19.8read 2026-10-23
  • CNAweakness (CWE)CWE-20known since 2026-10-23
  • NVDweakness (CWE)CWE-190read 2026-10-23
  • FIRST EPSSEPSS score1.3 %2026-11-08
  • OSVaffected packages—
  • GitHub Advisoriesadvisory—

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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/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
Published
2024-06-05
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-592c-fmq9-g63c

Frequently asked questions

What is CVE-2024-5171?

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.

Is CVE-2024-5171 actively exploited?

A proof-of-concept exploit exists for CVE-2024-5171, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2024-5171?

CVE-2024-5171 has a CVSS v3 base score of 9.8 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running libaom? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record