CVE-2026-32740: libheif: Heap-Buffer-Overflow Write in Grid Tile Chroma Compositing
Vulnerability summary
CVE-2026-32740 is a high (CVSS 8.8) Out-of-bounds Write vulnerability in struktur libheif. EPSS estimates a 0.68% chance of exploitation in the next 30 days, higher than 53.9% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 7 · Related 5Timeline
- 19-05-2026PublishedVulnerability first disclosed.
- 15-07-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · AlpineEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.68%
Chance of exploitation in the next 30 days
Percentile
54%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.68% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundLibheif
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Alpine1 product
- libheif< 1.23.0-r0 | < 1.22.2-r0
Debian1 product
- libheifAll versions (No fix recorded) | < 1.19.8-1+deb13u1 | < 1.23.1-1
Struktur1 product
- libheif< 1.22.0
Strukturag1 product
- libheif< 1.22.0
Ubuntu1 product
- libheif< 1.20.2-1ubuntu0.4 | < 1.21.2-3ubuntu0.1
5 vendors · 5 products
References
10 links- github.com/strukturag/libheif/security/advisories/GHSA-frfr-f3vg-2g6jX Refsource CONFIRMREPORTExploitVendor Advisory