Skip to main content
EPSS 0.2%top 95%

CVE-2026-62291: CWE-125: Out-of-bounds Read in strukturag libheif

0
Medium
Published: 09/16/2026 (09/16/2026, 16:36:02 UTC)
Source: CVE Database V5
Vendor/Project: strukturag
Product: libheif

Description

CVE-2026-62291 is a medium severity vulnerability in strukturag's libheif (version 1.23.0 and earlier) involving an out-of-bounds read and write caused by inconsistent handling of auxiliary alpha plane dimensions during image decoding and encoding. This flaw can lead to heap corruption when processing crafted image sequences with mismatched primary and auxiliary plane sizes. The issue is fixed in libheif version 1.23.1.

CVSS v3.1

Score 5.3medium

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

Affected software

strukturag

libheif

Affected versions
<1.23.1
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: 09/19/2026, 01:35:32 UTC

Technical Analysis

The vulnerability in libheif arises from a mismatch between the dimensions of the primary image plane and the auxiliary alpha plane during decoding and encoding workflows. Specifically, Track_Visual::decode_next_image_sample() does not verify that the auxiliary alpha plane dimensions match the primary frame, leading to inconsistent image data passed to encoding functions. In unc_encoder::encode(), buffer sizing is based on primary dimensions, but copying uses actual plane dimensions, causing out-of-bounds writes or reads when the alpha plane is larger or smaller. This heap corruption vulnerability is addressed in libheif version 1.23.1.

Potential Impact

An attacker can craft a malicious HEIF or AVIF image with specific plane dimensions that trigger heap corruption during normal decode and re-encode operations. This can lead to memory corruption affecting confidentiality, integrity, and availability of the affected system. The CVSS 3.1 base score is 5.3 (medium severity), reflecting local attack vector, low complexity, no privileges required, user interaction needed, and impacts to confidentiality, integrity, and availability.

Mitigation Recommendations

Upgrade libheif to version 1.23.1 or later, where this vulnerability is fixed. No other mitigation or workaround is indicated by the vendor advisory.

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

Threat ID: 6a84d00bc6e8be0332c73b03

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

Last enriched: 09/19/2026, 01:35:32 UTC

Last updated: 10/02/2026, 02:46:05 UTC

Views: 61

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