Out-of-Bounds Read Vulnerability in Microsoft HEIF Image Extensions
CVE-2025-62821
9.1CRITICAL
What is CVE-2025-62821?
The Microsoft HEIF Image Extensions version 1.2.22.0 is susceptible to an out-of-bounds read vulnerability. This issue arises when the function CHEIFItemInfoEntry_GetDataSize returns a successful status while inaccurately reporting a data size of zero. Consequently, this leads to an erroneous 1-byte memory allocation. During subsequent operations, particularly in the CopyPixels function, the calculation of copy_size derives from stride and roi_height without validating the length of the source buffer prior to executing a memmove operation. This oversight could potentially be exploited, resulting in various security implications.