# JLSEC-2026-122: Integer overflow in libaom internal function imgallochelper can lead to heap buffer overflow.

- Severity: Critical 9.8 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-04-16T23:30:44.982Z
- Modified: 2026-07-25T18:23:53.945Z
- Related: CVE-2024-5171

## 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.

(As written by Julia Security Advisories.)

## Affected

- libaom_jll (Julia): before 3.11.0+0

## Every score

- Julia Security Advisories: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Julia Security Advisories: CVSS:4.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`

## References

- <https://issues.chromium.org/issues/332382766> (web)
- <https://lists.debian.org/debian-lts-announce/2024/09/msg00024.html> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6HYUEHZ35ZPY2EONVZCGO6LPT3AMLZCP/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U5NRNCEYS246CYGOR32MF7OGKWOWER22/> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-122](https://osv.dev/vulnerability/JLSEC-2026-122), CC-BY-4.0, modified 2026-07-25

---

Page: https://cve.day/JLSEC-2026-122 · Whole record: https://cve.day/JLSEC-2026-122.json · Rebuilt by cve.day 2026-11-25T22:56:25.906Z
