CVE-2025-62821 Details
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.
A vulnerability in Microsoft HEIF Image Extensions version 1.2.22.0 has been identified, where an out-of-bounds read occurs due to improper handling of data sizes in the CHEIFItemInfoEntry_GetDataSize function. This flaw allows a caller to allocate a 1-byte buffer, which is then insufficient for the actual data being processed. The issue arises when the CopyPixels function calculates the amount of data to copy based on image dimensions, without verifying the length of the source buffer first. As a result, this vulnerability can be exploited to read memory beyond the allocated buffer, causing an access violation and crashing the application.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 22, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/hyunjungg/CVE-2025-62821 | CISA-ADP | ExploitThird Party Advisory |
| https://github.com/hyunjungg/CVE-2025-62821 | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| microsoft heif image extension | 1.2.22.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 12, 2026 | CVE Translated | [email protected] |
| Oct 5, 2026 | CVE Translated | [email protected] |
| Jun 30, 2026 | Initial Analysis | [email protected] |
| Jun 22, 2026 | CVE Modified | CISA-ADP |
| Jun 19, 2026 | New CVE Received | [email protected] |