# CVE-2025-62821: Microsoft HEIF Image Extensions 1.2.22.0 has an out-of-bounds read because CHEIFItemInfoEntryGetDataSize can return success while leaving t…

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.82%, higher than 58% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-19T00:00:00.000Z
- Modified: 2026-10-12T22:10:00.247Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: mitre

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- microsoft heif_image_extension: 1.2.22.0

## References

- <https://github.com/hyunjungg/CVE-2025-62821> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2025-62821](https://www.cve.org/CVERecord?id=CVE-2025-62821), CVE Terms of Use, modified 2026-06-22
- NVD: [CVE-2025-62821](https://nvd.nist.gov/vuln/detail/CVE-2025-62821), Public domain, modified 2026-10-12

---

Page: https://cve.day/CVE-2025-62821 · Whole record: https://cve.day/CVE-2025-62821.json · Rebuilt by cve.day 2026-11-25T22:59:12.333Z
