CVE-2026-32740: libheif is a HEIF and AVIF file format decoder and encoder
CVE-2026-32740 is a high-severity flaw (CVSS 8.8) affecting libheif. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 wr
Why this priority
- High severity
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.8 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.7% (top 48%) |
| CISA exploited list | No |
| Weakness | CWE-787 |
| Published | 2026-05-19 |
| Last modified | 2026-07-24 |
Last updated 2026-07-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-32740?
libheif: upgrade to 1.22.0. Exact commands for each OS are on this page.
Is CVE-2026-32740 being exploited?
CVE-2026-32740 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-32740 affect?
CVE-2026-32740 affects libheif. Severity is high (CVSS 8.8). 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 dat
How urgent is CVE-2026-32740?
Priority 49/100. High severity; Public exploit reference
Related CVEs
- CVE-2026-49271 MEDIUM 6.5 UPGRADE libheif is a HEIF and AVIF file format decoder and encoder
- CVE-2026-47247 HIGH 7.5 UPGRADE libheif is a HEIF and AVIF file format decoder and encoder
- CVE-2026-47178 MEDIUM 6.1 UPGRADE libheif is a HEIF and AVIF file format decoder and encoder
- CVE-2026-47251 MEDIUM 6.1 UPGRADE libheif is a HEIF and AVIF file format decoder and encoder
- CVE-2026-47254 MEDIUM 6.1 UPGRADE libheif is a HEIF and AVIF file format decoder and encoder