6.5

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

CVSS: 6.5v3.1MediumAnalyzed
AliasesALPINE-CVE-2026-32738UBUNTU-CVE-2026-32738DEBIAN-CVE-2026-32738
Published 19-05-2026Last modified 19-05-2026

Vulnerability summary

CVE-2026-32738 is a medium (CVSS 6.5) Out-of-bounds Read vulnerability in struktur libheif. EPSS estimates a 0.38% chance of exploitation in the next 30 days, higher than 29.9% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
36/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.38%
0%100%
Low · +0.07 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. 19-05-2026
    PublishedVulnerability first disclosed.
  2. 19-05-2026
    Last modifiedVulnerability information updated.

Description

libheif is a HEIF and AVIF file format decoder and encoder. In versions 1.21.2 and below, a crafted 792-byte HEIF sequence file with samples_per_chunk=0 in the stsc box causes an unsigned integer underflow in the Chunk constructor (m_last_sample = 0 + 0 - 1 = UINT32_MAX), mapping all samples to an empty chunk and resulting in a denial of service. When any sample is accessed, the library reads from index 0 of an empty std::vector, causing a guaranteed SEGV (null-page read). The file parses successfully without producing an error; the crash occurs on the first frame access. This issue has been fixed in version 1.22.0.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.38%

Chance of exploitation in the next 30 days

Percentile

30%

Versus all other CVEs

30-day change

+0.07 pp

From 0.30% on 19-09-2026

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

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

Alpine1 product
  • libheif< 1.23.0-r0
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

5 vendors · 5 products

References

6 links