{"id":"JLSEC-2026-572","details":"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.","modified":"2026-06-05T15:30:16.724642087Z","published":"2026-06-05T15:18:28.412Z","upstream":["CVE-2026-32740","EUVD-2026-30978"],"database_specific":{"sources":[{"imported":"2026-06-05T14:52:24.541Z","published":"2026-05-19T20:16:18.917Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-32740","modified":"2026-05-21T14:16:45Z","database_specific":{"status":"Modified"},"html_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32740","id":"CVE-2026-32740"},{"imported":"2026-06-05T14:52:25.868Z","published":"2026-05-19T19:22:07Z","url":"https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-30978","modified":"2026-05-21T13:06:55Z","html_url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-30978","id":"EUVD-2026-30978"}],"license":"CC-BY-4.0"},"references":[{"type":"WEB","url":"https://github.com/strukturag/libheif/releases/tag/v1.22.0"},{"type":"WEB","url":"https://github.com/strukturag/libheif/security/advisories/GHSA-frfr-f3vg-2g6j"}],"affected":[{"package":{"name":"libheif_jll","ecosystem":"Julia","purl":"pkg:julia/libheif_jll?uuid=a13778fd-9a17-58b4-b5a0-4b4a242815a9"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.22.2000+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-572.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}