CVE-2026-84444: CWE-787: Out-of-bounds Write in strukturag libheif
libheif is a HEIF and AVIF file format decoder and encoder. Prior to 1.23.2, when WITH_UNCOMPRESSED_CODEC is enabled, heif_context_add_image_tile() accepts an independently constructed tile whose component-plane dimensions do not match the tile geometry established by the prototype image. ImageItem_uncompressed::add_image_tile() passes that tile directly to unc_encoder::encode_tile(), which lacked the check_component_sizes() gate and sizes its output from the configured tile geometry while copying the tile's actual component-plane dimensions. An oversized component plane can therefore make unc_encoder_component_interleave::encode_tile() copy attacker-controlled data beyond the heap output buffer. This issue is fixed in version 1.23.2.
AI Analysis
Technical Summary
The vulnerability in libheif arises from improper validation of tile component-plane dimensions in the uncompressed codec path. Specifically, heif_context_add_image_tile() accepts independently constructed tiles whose dimensions may not align with the prototype image's tile geometry. The function ImageItem_uncompressed::add_image_tile() forwards this tile to unc_encoder::encode_tile(), which lacks a check_component_sizes() validation. Consequently, unc_encoder_component_interleave::encode_tile() copies data based on the configured tile geometry rather than the actual tile dimensions, allowing an attacker to cause an out-of-bounds write beyond the heap buffer. This memory corruption flaw is resolved in version 1.23.2.
Potential Impact
Successful exploitation can lead to memory corruption due to out-of-bounds writes, potentially causing denial of service or arbitrary code execution. The CVSS score of 7.4 reflects a high severity with network attack vector, high attack complexity, no privileges required, no user interaction, unchanged scope, no confidentiality impact, but high integrity and availability impacts.
Mitigation Recommendations
Upgrade libheif to version 1.23.2 or later, where this vulnerability is fixed. No other mitigation or workaround is indicated by the vendor advisory. Users should ensure WITH_UNCOMPRESSED_CODEC is updated accordingly.
CVE-2026-84444: CWE-787: Out-of-bounds Write in strukturag libheif
Description
libheif is a HEIF and AVIF file format decoder and encoder. Prior to 1.23.2, when WITH_UNCOMPRESSED_CODEC is enabled, heif_context_add_image_tile() accepts an independently constructed tile whose component-plane dimensions do not match the tile geometry established by the prototype image. ImageItem_uncompressed::add_image_tile() passes that tile directly to unc_encoder::encode_tile(), which lacked the check_component_sizes() gate and sizes its output from the configured tile geometry while copying the tile's actual component-plane dimensions. An oversized component plane can therefore make unc_encoder_component_interleave::encode_tile() copy attacker-controlled data beyond the heap output buffer. This issue is fixed in version 1.23.2.
CVSS v3.1
Score 7.4high
Affected software
strukturag
libheif
pkg:github/strukturag/libheifRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in libheif arises from improper validation of tile component-plane dimensions in the uncompressed codec path. Specifically, heif_context_add_image_tile() accepts independently constructed tiles whose dimensions may not align with the prototype image's tile geometry. The function ImageItem_uncompressed::add_image_tile() forwards this tile to unc_encoder::encode_tile(), which lacks a check_component_sizes() validation. Consequently, unc_encoder_component_interleave::encode_tile() copies data based on the configured tile geometry rather than the actual tile dimensions, allowing an attacker to cause an out-of-bounds write beyond the heap buffer. This memory corruption flaw is resolved in version 1.23.2.
Potential Impact
Successful exploitation can lead to memory corruption due to out-of-bounds writes, potentially causing denial of service or arbitrary code execution. The CVSS score of 7.4 reflects a high severity with network attack vector, high attack complexity, no privileges required, no user interaction, unchanged scope, no confidentiality impact, but high integrity and availability impacts.
Mitigation Recommendations
Upgrade libheif to version 1.23.2 or later, where this vulnerability is fixed. No other mitigation or workaround is indicated by the vendor advisory. Users should ensure WITH_UNCOMPRESSED_CODEC is updated accordingly.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-09-01T20:05:09.422Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6aad608d55bf5e2cf5360fa0
Added to database: 09/18/2026, 16:02:21 UTC
Last enriched: 09/18/2026, 16:16:50 UTC
Last updated: 09/18/2026, 23:20:14 UTC
Views: 10
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.