๐Ÿ” CVE Alert

CVE-2026-49271

MEDIUM 6.5

libheif: Wrapped icef compressed-unit range check causes out-of-bounds read in uncompressed HEIF decoder

CVSS Score
6.5
EPSS Score
0.0%
EPSS Percentile
0th

libheif is a HEIF and AVIF file format decoder and encoder. Prior to version 1.22.1, the uncompressed HEIF decoder validates explicit icef compressed-unit offsets using unit_offset + unit_size. Because the addition can wrap, a crafted HEIF file can pass the range check and then construct a vector from iterators outside the compressed item buffer, producing an out-of-bounds heap read and crash. Version 1.22.1 patches the issue.

CWE CWE-125
Vendor strukturag
Product libheif
Published Jun 19, 2026
Stay Ahead of the Next One

Get instant alerts for strukturag libheif

Be the first to know when new medium vulnerabilities affecting strukturag libheif are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Affected Versions

strukturag / libheif
< 1.22.1

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/strukturag/libheif/security/advisories/GHSA-r7qj-cg5r-r6vf