CVE-2024-5171
heap buffer overflow in libaom
Reported by google · Published June 5, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| aom | Alpine | 3.9.1-r0 |
| libaom | libaom | 3.9.0 |
| libaom | aomedia | 3.9.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| libaom | libaom | 1.0.0 |
| libaom | libaom | 1.0.0 |
| libaom | libaom | 1.0.0 |
| alpine | aom | 0 |
Timeline
- Jun 5, 2024 CVE Published
- Jun 6, 2024 EPSS Score (30 in total, the first dated here)
- Oct 5, 2024 Coalition ESS Score (6 in total, the first dated here)
- Feb 13, 2025 CVE Updated
- Jun 2, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-5171
vulnetix vdb fixes CVE-2024-5171
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-5171/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart