Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

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

0
Medium
VulnerabilityCVE-2026-62289cvecve-2026-62289cwe-191cwe-617
Published: 08/18/2026 (08/18/2026, 21:19:18 UTC)
Source: CVE Database V5
Vendor/Project: strukturag
Product: libheif

Description

CVE-2026-62289 is an integer underflow vulnerability in strukturag libheif version 1.23.0 and earlier. A crafted HEIF or AVIF file with a clean aperture box can cause image dimensions to reduce to zero, leading to crashes or corrupted tiling results when certain image tiling functions are called. The issue arises from applying a transformation twice, causing an underflow and invalid fractional values. Debug builds abort on assertion failure, while release builds may return corrupt results. This vulnerability is fixed in version 1.23.1.

CVSS v3.1

Score 4.3medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

Affected software

GitHub Actionsmore threats →ai
strukturag/libheif
pkg:github/strukturag/libheif
Affected versions
<=1.23.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/18/2026, 21:51:08 UTC

Technical Analysis

The vulnerability in libheif (CVE-2026-62289) involves an integer underflow triggered by a crafted HEIF or AVIF file containing a clean aperture box. When heif_image_handle_get_image_tiling(handle, 1, &tiling) is called, the image dimension can be reduced to zero due to double application of the clean aperture transformation. This causes an underflow in Box_clap::left_rounded(0), resulting in an invalid Fraction(0xFFFFFFFF, 2). Debug builds hit an assertion and abort, while release builds may produce corrupt crop and zero-width tiling results. The affected code spans image_item.cc, context.cc, and box.cc. The issue is resolved in libheif version 1.23.1.

Potential Impact

This vulnerability can cause denial of service through application crashes in debug builds or corrupted image tiling results in release builds. There is no impact on confidentiality or integrity reported. The CVSS score is 4.3 (medium), indicating a low-severity availability impact without elevated privileges or user interaction required.

Mitigation Recommendations

Upgrade to libheif version 1.23.1 or later, where this integer underflow issue is fixed. No other mitigation or workaround is indicated. Patch status is confirmed by the vendor stating the fix in version 1.23.1.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-07-13T18:37:08.488Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a84d00bc6e8be0332c73b01

Added to database: 08/18/2026, 21:35:07 UTC

Last enriched: 08/18/2026, 21:51:08 UTC

Last updated: 08/18/2026, 22:21:19 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses