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

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

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-19T20:30:04Z