Vulnerability 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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Microsoft | Heif Image Extension | 1.2.22.0 |
Related Weaknesses (CWE)
References
- https://github.com/hyunjungg/CVE-2025-62821ExploitThird Party Advisory
- https://github.com/hyunjungg/CVE-2025-62821ExploitThird Party Advisory
FAQ
What is CVE-2025-62821?
CVE-2025-62821 is a vulnerability with a CVSS score of 9.1 (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...
How severe is CVE-2025-62821?
CVE-2025-62821 has been rated CRITICAL with a CVSS base score of 9.1/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2025-62821?
Check the references section above for vendor advisories and patch information. Affected products include: Microsoft Heif Image Extension.