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

- Severity: Medium 6.1 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-08-03T13:28:07.759Z
- Modified: 2026-08-03T13:30:04.019Z
- Related: CVE-2026-47251, EUVD-2026-46435

## Description

libheif is a HEIF and AVIF file format decoder and encoder. The fix for CVE-2026-3949 (commit `b97c8b5`, PR #1712) introduced an integer overflow in the very security check it added. The check itself can be bypassed, allowing a crafted HEIF file with a VVC track to trigger the same out-of-bounds heap read that CVE-2026-3949 was meant to prevent. This is a separate, currently-unpatched vulnerability. Issue #1712 was closed as fixed without testing the edge case where `size` is near `UINT32_MAX`. Version 1.22.0 patches the issue.

(As written by Julia Security Advisories.)

## Affected

- libheif_jll (Julia): before 1.22.2000+0

## Every score

- Julia Security Advisories: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H`
- Julia Security Advisories: CVSS:4.0 `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N/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://github.com/strukturag/libheif/issues/1712> (web)
- <https://github.com/strukturag/libheif/security/advisories/GHSA-p6q9-fhf2-vj9v> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-1097](https://osv.dev/vulnerability/JLSEC-2026-1097), CC-BY-4.0, modified 2026-08-03

---

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