9.1
/ 10
CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Description
Microsoft HEIF Image Extensions 1.2.22.0 has an out-of-bounds read because CHEIFItemInfoEntry_GetDataSize can return success while leaving the reported data size as 0. This causes a caller to make a 1-byte allocation. Later, CopyPixels computes copy_size = stride * abs(roi_height) but does not check the source buffer length before a memmove call.
AI Analysis
Out-of-bounds read vulnerability in Microsoft HEIF Image Extensions due to incorrect handling of data size by CHEIFItemInfoEntry_GetDataSize, potentially leading to a 1-byte allocation and subsequent memmove call without checking the source buffer length.
Basic Information
ID
CVE-2025-62821
Source
mitre
Published
Jun 19, 2026 at 00:00
Modified
Jun 22, 2026 at 17:16
Affected Product
Vendor
Microsoft
Product
Microsoft HEIF Image Extensions
Version
1.2.22.0
Affected Versions
n/a n/a n/a
CWE Classification
AI Assessment
AI Score
9.1 / 10
AI Severity
Critical
Vendor
Microsoft
Product
Microsoft HEIF Image Extensions
Version
1.2.22.0