6.5

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

Analyzed
AliasesUBUNTU-CVE-2026-49271DEBIAN-CVE-2026-49271
Published 19-06-2026Last modified 22-06-2026

Vulnerability summary

CVE-2026-49271 is a medium (CVSS 6.5) Out-of-bounds Read vulnerability in struktur libheif. EPSS estimates a 0.20% chance of exploitation in the next 30 days, higher than 10.2% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.20%
0%100%
Low · -0.16 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 7 · Related 5

Timeline

  1. 19-06-2026
    PublishedVulnerability first disclosed.
  2. 22-06-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.20%

Chance of exploitation in the next 30 days

Percentile

10%

Versus all other CVEs

30-day change

Decrease -0.16 pp

From 0.36% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Debian1 product
  • libheifAll versions (No fix recorded) | < 1.19.8-1+deb13u1 | < 1.23.1-1
Struktur1 product
Strukturag1 product
Ubuntu1 product
  • libheif< 1.21.2-3ubuntu0.2

4 vendors · 4 products

References

5 links