CVE-2025-62821: Vulnerability in Microsoft Heif Image Extension

Critical. 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.

CWE-125

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
Unknown
Fix
None recorded
Patch deadline
No deadline set

Details

Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Weakness
CWE-125
Published
19 Jun 2026
Last change
12 Oct 2026

Affected products

Affected versions and the first fixed release

  • Microsoft Heif Image Extension Version 1.2.22.0. No fixed version recorded

Advisories

Vendor and security advisories

Related