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.

Project Subscriptions

Vendors Products
Microsoft Subscribe
Heif Image Extension Subscribe
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Fri, 19 Jun 2026 21:15:00 +0000

Type Values Removed Values Added
First Time appeared Microsoft
Microsoft heif Image Extension
Vendors & Products Microsoft
Microsoft heif Image Extension

Fri, 19 Jun 2026 20:45:00 +0000

Type Values Removed Values Added
Title Out-of-Bounds Read in Microsoft HEIF Image Extensions Facilitates Potential Memory Corruption
Weaknesses CWE-20

Fri, 19 Jun 2026 18:15:00 +0000

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

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-06-19T13:30:03.199Z

Reserved: 2025-10-23T00:00:00.000Z

Link: CVE-2025-62821

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-19T21:15:16Z

Weaknesses