{"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-07-18T00:02:09.851818784Z","published":"2026-06-05T15:18:28.412Z","upstream":["CVE-2026-32740","EUVD-2026-30978"],"database_specific":{"license":"CC-BY-4.0","sources":[{"url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-32740","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32740","database_specific":{"status":"Modified"},"id":"CVE-2026-32740","imported":"2026-07-17T22:09:58.961Z","modified":"2026-07-15T02:20:00.620Z","published":"2026-05-19T20:16:18.917Z"},{"html_url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-30978","id":"EUVD-2026-30978","imported":"2026-07-17T22:10:07.588Z","modified":"2026-07-15T01:07:45Z","published":"2026-05-19T19:22:07Z","url":"https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-30978"}]},"references":[{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-32740"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2479969"},{"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"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32740.json"}],"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"}]}