CVE-2025-62821
JSON

9.1critical

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

Severity
9.1critical CVSS:3.1 by CISA-ADP
Exploit likelihood
0.82% (higher than 58% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
microsoft heif_image_extension1.2.22.0NVD

Classification

CWE-125

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Microsoft HEIF Image Extensions 1.2.22.0 tiene una lectura fuera de límites porque CHEIFItemInfoEntry_GetDataSize puede devolver éxito mientras deja el tamaño de datos reportado como 0. Esto provoca que un llamador realice una asignación de 1 byte. Más tarde, CopyPixels calcula copy_size = stride * abs(roi_height) pero no comprueba la longitud del búfer de origen antes de una llamada a memmove.

References

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

Sources

SourceRecordLicence
CVE ListCVE-2025-62821 changed 2026-06-22CVE Terms of Use
NVDCVE-2025-62821 changed 2026-10-12Public domain