CVE-2025-62821

Out-of-Bounds Read in Microsoft HEIF Image Extensions Facilitates Potential Memory Corruption

Published Jun 19, 2026 CVSS 3.1 · 9.1 Critical EPSS 1.1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-125
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Microsoft
Microsoft heif Image Extension
Vendors & Products Microsoft
Microsoft heif Image Extension
Type Values Removed Values Added
Title Out-of-Bounds Read in Microsoft HEIF Image Extensions Facilitates Potential Memory Corruption
Weaknesses CWE-20
Type Values Removed Values Added
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.
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Jun 22, 2026, 5:16 PM
Reserved
Oct 23, 2025, 12:00 AM
Status
Analyzed
Published
Jun 19, 2026, 2:16 PM
Modified
Oct 12, 2026, 10:10 PM