CVE & CISA-KEV Catalog

CVE-2026-32738

MEDIUM
6.5
CVSS v3
NVD

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.

How to fix

Remediation Available
libheifDebian
Fixed in:1.23.1-1CVE-2026-32738
heif-gdk-pixbufUbuntu
Fixed in:1.6.1-1ubuntu0.1~esm3USN-8454-1
Fixed in:1.12.0-2ubuntu0.1~esm3USN-8454-1
Fixed in:1.17.6-1ubuntu4.4USN-8454-1
Fixed in:1.20.2-1ubuntu0.4USN-8454-1
heif-thumbnailerUbuntu
Fixed in:1.6.1-1ubuntu0.1~esm3USN-8454-1
Fixed in:1.12.0-2ubuntu0.1~esm3USN-8454-1
Fixed in:1.17.6-1ubuntu4.4USN-8454-1
Fixed in:1.20.2-1ubuntu0.4USN-8454-1
heif-viewUbuntu
Fixed in:1.20.2-1ubuntu0.4USN-8454-1
libheifUbuntu
Fixed in:1.1.0-2ubuntu0.1~esm3USN-8454-1
Fixed in:1.6.1-1ubuntu0.1~esm3USN-8454-1
Fixed in:1.12.0-2ubuntu0.1~esm3USN-8454-1
Fixed in:1.17.6-1ubuntu4.4USN-8454-1
Fixed in:1.20.2-1ubuntu0.4USN-8454-1
libheif-devUbuntu
Fixed in:1.1.0-2ubuntu0.1~esm3USN-8454-1
Fixed in:1.6.1-1ubuntu0.1~esm3USN-8454-1
Fixed in:1.12.0-2ubuntu0.1~esm3USN-8454-1
Fixed in:1.17.6-1ubuntu4.4USN-8454-1
Fixed in:1.20.2-1ubuntu0.4USN-8454-1
libheif-plugin-aomdecUbuntu
Fixed in:1.17.6-1ubuntu4.4USN-8454-1
Fixed in:1.20.2-1ubuntu0.4USN-8454-1
libheif-plugin-aomencUbuntu
Fixed in:1.17.6-1ubuntu4.4USN-8454-1
Fixed in:1.20.2-1ubuntu0.4USN-8454-1
libheif-plugin-dav1dUbuntu
Fixed in:1.17.6-1ubuntu4.4USN-8454-1
Fixed in:1.20.2-1ubuntu0.4USN-8454-1
libheif-plugin-ffmpegdecUbuntu
Fixed in:1.17.6-1ubuntu4.4USN-8454-1
Fixed in:1.20.2-1ubuntu0.4USN-8454-1
libheif-plugin-j2kdecUbuntu
Fixed in:1.17.6-1ubuntu4.4USN-8454-1
Fixed in:1.20.2-1ubuntu0.4USN-8454-1
libheif-plugin-j2kencUbuntu
Fixed in:1.17.6-1ubuntu4.4USN-8454-1
Fixed in:1.20.2-1ubuntu0.4USN-8454-1
libheif-plugin-jpegdecUbuntu
Fixed in:1.17.6-1ubuntu4.4USN-8454-1
Fixed in:1.20.2-1ubuntu0.4USN-8454-1
libheif-plugin-jpegencUbuntu
Fixed in:1.17.6-1ubuntu4.4USN-8454-1
Fixed in:1.20.2-1ubuntu0.4USN-8454-1
libheif-plugin-kvazaarUbuntu
Fixed in:1.20.2-1ubuntu0.4USN-8454-1
libheif-plugin-libde265Ubuntu
Fixed in:1.17.6-1ubuntu4.4USN-8454-1
Fixed in:1.20.2-1ubuntu0.4USN-8454-1
libheif-plugin-rav1eUbuntu
Fixed in:1.17.6-1ubuntu4.4USN-8454-1
Fixed in:1.20.2-1ubuntu0.4USN-8454-1
libheif-plugin-svtencUbuntu
Fixed in:1.17.6-1ubuntu4.4USN-8454-1
Fixed in:1.20.2-1ubuntu0.4USN-8454-1
libheif-plugin-x265Ubuntu
Fixed in:1.17.6-1ubuntu4.4USN-8454-1
Fixed in:1.20.2-1ubuntu0.4USN-8454-1
libheif-plugins-allUbuntu
Fixed in:1.20.2-1ubuntu0.4USN-8454-1
libheif1Ubuntu
Fixed in:1.1.0-2ubuntu0.1~esm3USN-8454-1
Fixed in:1.6.1-1ubuntu0.1~esm3USN-8454-1
Fixed in:1.12.0-2ubuntu0.1~esm3USN-8454-1
Fixed in:1.17.6-1ubuntu4.4USN-8454-1
Fixed in:1.20.2-1ubuntu0.4USN-8454-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Exploit Intelligence

0.30%probability of exploitation in 30 days
22ndpercentile

Low risk: more likely to be exploited than 22% of all known CVEs.

References

Exploit1

Related Vulnerabilities

Other CWE-125 (Out-of-bounds Read) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2014-0160High7.5100%KEVFix
CVE-2025-5777High7.5100%KEV + RansomFix
CVE-2021-4034High7.895%KEVFix
CVE-2023-21769High7.592%-Fix
CVE-2023-49285High8.689%-Fix
CVE-2020-8794Critical9.889%-Fix
Embed a live status badge for CVE-2026-32738
CVE-2026-32738 severity badge

Markdown

[![CVE-2026-32738](https://tridentstack.com/cve/badge/CVE-2026-32738.svg)](https://tridentstack.com/cve/CVE-2026-32738)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-32738"><img src="https://tridentstack.com/cve/badge/CVE-2026-32738.svg" alt="CVE-2026-32738"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-05-20.