VDB

CVE-2026-32740

CVE-2026-32740 PUBLISHED CVSS 8.8 HIGH

libheif: Heap-Buffer-Overflow Write in Grid Tile Chroma Compositing

Reported by github_m · Published May 19, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
libheifstruktur1.22.0

Risk scores

CVSS 3.1
8.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
strukturaglibheif< 1.22.0
Red HatRed Hat Enterprise Linux 10
strukturaglibheif0
amazon:2023libheif-tools0
amazon:2023heif-pixbuf-loader0
amazon:2023libheif-devel0
Red HatRed Hat Enterprise Linux 10
alpinelibheif0, 0
amazon:2023libheif0

Timeline

  • May 19, 2026 CVE Published
  • May 19, 2026 PoC Published (2 in total, the first dated here)
  • May 20, 2026 EPSS Score (30 in total, the first dated here)
  • May 20, 2026 Coalition ESS Score
  • Jul 24, 2026 CVE Updated
  • Sep 21, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-32740
vulnetix vdb fixes CVE-2026-32740

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-32740/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›