# JLSEC-2026-572: libheif is a HEIF and AVIF file format decoder and encoder.

- Severity: High 8.8 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/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-06-05T15:18:28.412Z
- Modified: 2026-07-18T00:02:09.851Z
- Related: CVE-2026-32740, EUVD-2026-30978

## Description

libheif is a HEIF and AVIF file format decoder and encoder. Versions 1.21.2 and prior contain a heap-buffer-overflow (write) vulnerability in the grid tile compositing, allowing an attacker to write 64 bytes of fully attacker-controlled data past the end of a chroma plane heap allocation by crafting a HEIF/AVIF file with a 1×4 grid of odd-height tiles. The overflow is triggered during normal image decoding with default build configuration. The written bytes are chroma (Cb/Cr) pixel values from the attacking tile, giving the attacker full control over the overflow content. This issue has been fixed in version 1.22.0.

(As written by Julia Security Advisories.)

## Affected

- libheif_jll (Julia): before 1.22.2000+0

## References

- <https://access.redhat.com/security/cve/CVE-2026-32740> (web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2479969> (web)
- <https://github.com/strukturag/libheif/releases/tag/v1.22.0> (web)
- <https://github.com/strukturag/libheif/security/advisories/GHSA-frfr-f3vg-2g6j> (web)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32740.json> (web)

## Sources

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

---

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