CVE-2026-32740

HIGH CVSS 3.1: 8.8 EPSS 0.68%
Updated Jul 24, 2026
Struktur
Parameter Value
CVSS 8.8 (HIGH)
Affected Versions before 1.22.0
Fixed In 1.22.0
Type CWE-787 (Out-of-bounds Write)
Vendor Struktur
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Struktur Libheif
cpe:2.3:a:struktur:libheif:*:*:*:*:*:*:*:*
— 1.22.0