cve.bz

CVE-2026-62289 strukturag libheif: Integer Underflow (Wrap or Wraparound)

4.3 mediumEPSS 0.3%

Medium (4.3) in strukturag libheif. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
libheif is a HEIF and AVIF file format decoder and encoder. In 1.23.0 and earlier, a crafted HEIF or AVIF file containing a clean aperture box can reduce an image dimension to zero and crash or corrupt tiling results when heif_image_handle_get_image_tiling(handle, 1, &tiling) is called. ImageItem::get_heif_image_tiling() returns already transformed dimensions, and process_image_transformations_on_tiling() applies the clean aperture transformation again. The second application passes zero to Box_clap::left_rounded(0), where image_width minus one underflows and constructs Fraction(0xFFFFFFFF, 2). Debug builds reach an assertion and abort, while release builds can return a corrupt crop and zero-width tiling result. The affected implementation spans libheif/image-items/image_item.cc, libheif/context.cc, and libheif/box.cc. This issue is fixed in version 1.23.1.

Severity

CVSS 3.1

4.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 23rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-08-19. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-191 Integer Underflow (Wrap or Wraparound)
CWE-617 Reachable Assertion
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-62289 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-62289?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-62289?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-62289 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
strukturag libheif< 1.23.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12libheifno fix listedDEBIAN-CVE-2026-62289
Debian13libheif1.19.8-1+deb13u1DEBIAN-CVE-2026-62289 DSA-6417-1
Debian14libheif1.23.1-1DEBIAN-CVE-2026-62289
Ubuntu24.04:LTSlibheif1.17.6-1ubuntu4.7UBUNTU-CVE-2026-62289 USN-8683-1
Ubuntu26.04:LTSlibheif1.21.2-3ubuntu0.4UBUNTU-CVE-2026-62289
UbuntuPro:18.04:LTSlibheif1.1.0-2ubuntu0.1~esm4UBUNTU-CVE-2026-62289 USN-8683-1
UbuntuPro:20.04:LTSlibheif1.6.1-1ubuntu0.1~esm4UBUNTU-CVE-2026-62289 USN-8683-1
UbuntuPro:22.04:LTSlibheif1.12.0-2ubuntu0.1~esm4UBUNTU-CVE-2026-62289 USN-8683-1
SUSELinux Enterprise Module for Desktop Applications 15 SP7, Linux Enterprise Module for Package Hub 15 SP7libheif1.23.1-150700.3.18.1SUSE-SU-2026:3597-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0libheif1.23.1-160000.1.1SUSE-SU-2026:23320-1
openSUSELeap 16.0libheif1.23.1-160000.1.1openSUSE-SU-2026:21644-1
openSUSETumbleweedlibheif1.23.1-1.1openSUSE-SU-2026:11416-1
Alpaquitastreamlibheif1.23.4-r0BELL-CVE-2026-62289

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated as Important because parsing untrusted media files can remotely crash the host process or disrupt image processing pipelines without requiring administrative rights. Red Hat Enterprise Linux core deployments do not package libheif by default, limiting potential exposure to systems running Fedora or community-supported packages from EPEL. Applications must actively process external files containing malformed framing metadata for the condition to be triggered.

Red Hat's mitigation

To mitigate this issue, avoid processing untrusted HEIF or AVIF files with applications that use libheif. Additionally, consider sandboxing applications that handle HEIF/AVIF content from untrusted sources to limit the potential impact of exploitation.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-62289.

References

Check your stackJSON