<Vulnerability name="CVE-2026-32738">
    <DocumentDistribution xml:lang="en">Copyright © 2012 Red Hat, Inc. All rights reserved.</DocumentDistribution>
    <ThreatSeverity>Moderate</ThreatSeverity>
    <PublicDate>2026-05-19T19:03:48</PublicDate>
    <Bugzilla id="2479968" url="https://bugzilla.redhat.com/show_bug.cgi?id=2479968" xml:lang="en:us">
libheif: libheif: Unsigned integer underflow leads to Denial of Service
    </Bugzilla>
    <CVSS3 status="draft">
        <CVSS3BaseScore>6.5</CVSS3BaseScore>
        <CVSS3ScoringVector>CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H</CVSS3ScoringVector>
    </CVSS3>
    <CWE>CWE-191</CWE>
    <Details xml:lang="en:us" source="Red Hat">
A flaw was found in libheif, a HEIF and AVIF file format decoder and encoder. A remote attacker could exploit this vulnerability by providing a specially crafted HEIF sequence file. This file, with `samples_per_chunk=0`, triggers an unsigned integer underflow, causing the library to map all samples to an empty chunk. When any sample is accessed, the library attempts to read from an invalid memory location, leading to a denial of service due to a guaranteed crash.
    </Details>
    <PackageState cpe="cpe:/o:redhat:enterprise_linux:10">
        <ProductName>Red Hat Enterprise Linux 10</ProductName>
        <FixState>Not affected</FixState>
        <PackageName>glycin-loaders</PackageName>
    </PackageState>
    <References xml:lang="en:us">
https://www.cve.org/CVERecord?id=CVE-2026-32738
https://nvd.nist.gov/vuln/detail/CVE-2026-32738
https://github.com/strukturag/libheif/security/advisories/GHSA-7f2h-cmpf-v9ww
    </References>
</Vulnerability>