CVE-2025-62821

Severity CVSS v4.0:
Pending analysis
Type:
CWE-125 Out-of-bounds Read
Publication date:
19/06/2026
Last modified:
30/06/2026

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:microsoft:heif_image_extension:1.2.22.0:*:*:*:*:*:*:*