8.1

CVE-2026-41071: struktur libheif Out-of-bounds Read

CVSS: 8.1v3.1HighAnalyzed
AliasesUBUNTU-CVE-2026-41071DEBIAN-CVE-2026-41071
Published 22-05-2026Last modified 27-05-2026

Vulnerability summary

CVE-2026-41071 is a high (CVSS 8.1) Out-of-bounds Read vulnerability in struktur libheif. EPSS estimates a 0.44% chance of exploitation in the next 30 days, higher than 37% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
42/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.1/10
010
High · v3.1 (NVD)
EPSS score
0.44%
0%100%
Low · +0.14 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 5 · Related 5

Timeline

  1. 22-05-2026
    PublishedVulnerability first disclosed.
  2. 27-05-2026
    Last modifiedVulnerability information updated.

Description

libheif is a HEIF and AVIF file format decoder and encoder. In versions 1.21.2 and prior, a crafted HEIF sequence file where the saiz box declares more samples than actually exist in the track's chunk table causes a heap-buffer-overflow (out-of-bounds read) in the SampleAuxInfoReader constructor. The SampleAuxInfoReader constructor iterates over saiz->get_num_samples() samples but doesn't validate that this count is consistent with the number of chunks in the chunks vector. When saiz declares more samples than the chunks cover, the loop increments current_chunk past chunks.size(), causing an out-of-bounds read on the chunks vector. The vulnerability is triggered during file parsing (heif_context_read_from_file) without any additional user interaction. Any application using libheif to open untrusted HEIF files is affected. This issue has been fixed in version 1.22.0.

CVSS metrics

6 scores · 4 sources · 2 versions

EPSS trend

Probability

0.44%

Chance of exploitation in the next 30 days

Percentile

37%

Versus all other CVEs

30-day change

+0.14 pp

From 0.30% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.44%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Libheif

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • libheifAll versions (No fix recorded) | < 1.23.1-1
Struktur1 product
Strukturag1 product
Ubuntu1 product
  • libheif< 1.20.2-1ubuntu0.4 | < 1.21.2-3ubuntu0.1

4 vendors · 4 products

References

6 links