← Vulnerability feed

Vulnerability record · CVE-2026-32740 · published 19 May 2026

CVE-2026-32740: Struktur libheif out-of-bounds write vulnerability

Struktur · Libheif

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.

8.8 CVSS 3.1 High EPSS 0.56% · top 55.7% CWE-787 · Out-of-bounds write
8.8CVSS 3.1 base score
0.56%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
5References, 1 tagged exploit
24 Jul 2026Last modified by NVD

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:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-32740 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

8.8CVE-2023-49460Struktur libheif vulnerabilitylibheif v1.17.5 was discovered to contain a segmentation violation via the function UncompressedImageCodec::decode_uncompressed_image.EPSS 0.76%8.8CVE-2023-49462Struktur libheif vulnerabilitylibheif v1.17.5 was discovered to contain a segmentation violation via the component /libheif/exif.cc.EPSS 0.80%8.8CVE-2023-49463Struktur libheif vulnerabilitylibheif v1.17.5 was discovered to contain a segmentation violation via the function find_exif_tag at /libheif/exif.cc.EPSS 0.77%8.8CVE-2023-49464Struktur libheif vulnerabilitylibheif v1.17.5 was discovered to contain a segmentation violation via the function UncompressedImageCodec::get_luma_bits_per_pixel_from_configuratio…EPSS 0.76%8.8CVE-2020-19498Struktur libheif vulnerabilityFloating point exception in function Fraction in libheif 1.4.0, allows attackers to cause a Denial of Service or possibly other unspecified impacts.EPSS 1.4%8.8CVE-2020-19499Struktur libheif out-of-bounds read vulnerabilityAn issue was discovered in heif::Box_iref::get_references in libheif 1.4.0, allows attackers to cause a Denial of Service or possibly other unspecifi…EPSS 1.4%8.8CVE-2019-11471Struktur libheif use after free vulnerabilitylibheif 1.4.0 has a use-after-free in heif::HeifContext::Image::set_alpha_channel in heif_context.h because heif_context.cc mishandles references to …EPSS 1.8%8.1CVE-2024-41311Struktur libheif out-of-bounds read vulnerabilityIn Libheif 1.17.6, insufficient checks in ImageOverlay::parse() decoding a heif file containing an overlay image with forged offsets can lead to an o…EPSS 0.77%

Source: NIST National Vulnerability Database (record CVE-2026-32740), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.