{"id":"JLSEC-2026-572","aliases":["JLSEC-2026-572"],"related":["CVE-2026-32740","EUVD-2026-30978"],"kind":"vulnerability","state":"published","title":"libheif is a HEIF and AVIF file format decoder and encoder.","summary":"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.","summaryFormat":"markdown","summarySource":"jlsec","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"jlsec"}],"published":"2026-06-05T15:18:28.412Z","modified":"2026-07-18T00:02:09.851Z","severity":{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.22.2000+0"}],"ecosystem":"Julia","package":"libheif_jll","purl":"pkg:julia/libheif_jll?uuid=a13778fd-9a17-58b4-b5a0-4b4a242815a9","source":"jlsec"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-32740","tags":["web"],"sources":["jlsec"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2479969","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/strukturag/libheif/releases/tag/v1.22.0","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/strukturag/libheif/security/advisories/GHSA-frfr-f3vg-2g6j","tags":["web"],"sources":["jlsec"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32740.json","tags":["web"],"sources":["jlsec"]}],"credits":[],"sources":[{"source":"jlsec","name":"Julia Security Advisories","id":"JLSEC-2026-572","url":"https://osv.dev/vulnerability/JLSEC-2026-572","licence":"CC-BY-4.0","modified":"2026-07-18T00:02:09.851Z"}],"updatedAt":"2026-11-25T22:56:26.164Z"}