Skip to main content

HEIF Image Extensions CVE-2025-62821

| EUVDEUVD-2025-210287 CRITICAL
Out-of-bounds Read (CWE-125)
2026-06-19 mitre GHSA-4qq3-gjhp-4grf
9.1
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious HEIF image
  2. Delivery
    Deliver via email or web
  3. Exploit
    Windows codec parses file
  4. Execution
    Zero-size allocation made
  5. Persist
    memmove reads out of bounds
  6. Impact
    Leak memory or crash process

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the target system to have Microsoft HEIF Image Extensions 1.2.22.0 installed (a Microsoft Store component, present by default on many modern Windows 10/11 SKUs and required to render HEIC content) and to parse an attacker-controlled HEIF/HEIC file via Photos, File Explorer thumbnails, Office image insertion, or any WIC-consuming application. Although the published CVSS vector lists UI:N, the bug is in image-parsing code, so in practice the user or an application must cause the malicious file to be loaded - fully passive remote exploitation against a default Windows install without any file delivery is not supported by the description. Limiting factors: systems without the HEIF Image Extensions package installed are not affected, and the primary impact per CWE-125 is information disclosure or process crash rather than code execution.

Impact

The NVD CVSS:3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H scores 9.1 (Critical), implying remote, unauthenticated, no-interaction exploitation with high confidentiality and availability impact - but this is inconsistent with the underlying primitive: an OOB read on a parsed image realistically requires a user or application to load the attacker-supplied file, which is typically modeled as UI:R or even AV:L for file-format bugs. The CWE-125 primitive overwhelmingly yields information disclosure and crashes, not integrity loss, which aligns with C:H/I:N/A:H but argues against the headline 9.1 severity in practice. There is no EPSS score, no CISA KEV listing, no SSVC decision data, and no public POC referenced beyond a researcher's GitHub repo that - based on the URL alone - appears to be a write-up rather than weaponized exploit code; treat real-world exploitation likelihood as low-to-moderate pending POC verification. Net assessment: a credible memory-disclosure / DoS bug in a widely deployed Windows image codec that warrants patching but is unlikely to be mass-exploited; the headline 9.1 overstates urgency relative to the likely UI:R reality.

Exploit ScenarioDerived

An attacker emails a malicious .heic image or hosts it on a website and lures a Windows user to open or preview it; when the HEIF Image Extensions codec parses the file, the zero-size allocation is overrun during CopyPixels' memmove, leaking adjacent process memory or crashing the host application. Because Windows Explorer and Photos auto-render HEIF thumbnails, simply browsing a folder containing the file may be sufficient to trigger parsing without an explicit open action.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 22, 2026

Out-of-bounds read in Microsoft HEIF Image Extensions 1.2.22.0 allows remote attackers to disclose memory contents and crash the process by serving a crafted HEIF image. The flaw stems from CHEIFItemInfoEntry_GetDataSize returning success with a reported data size of zero, leading to a 1-byte allocation that is later overrun by a memmove in CopyPixels. No public exploit identified at time of analysis, and the CVE is not listed in CISA KEV.

RemediationAI

No vendor-released patch identified at time of analysis; Microsoft has not published an advisory or fixed build in the supplied data. As a compensating control, update Microsoft HEIF Image Extensions to the latest version available in the Microsoft Store (Settings → Apps → Installed apps → HEIF Image Extensions → Advanced options, or via 'Get updates' in the Store) since Store apps auto-patch out-of-band from Patch Tuesday - this is the most likely delivery channel once a fix ships. Until a confirmed fixed version is published, reduce exposure by uninstalling the HEIF Image Extensions package on systems that do not need HEIC support (trade-off: HEIC/HEIF images, including iPhone-sourced photos, will no longer render in Windows apps), blocking inbound HEIC/HEIF attachments at the mail and web proxy, and disabling automatic thumbnail generation for HEIF files in Explorer to avoid passive parsing. Monitor https://nvd.nist.gov/vuln/detail/CVE-2025-62821 and the researcher's tracker at https://github.com/hyunjungg/CVE-2025-62821 for patch confirmation.

Affected VersionsENISA

n/a n/a

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Microsoft HEIF Image Extensions is a Windows component (shipped via the Microsoft Store) that adds support for the High Efficiency Image File Format (HEIF/HEIC) to apps such as Photos, File Explorer thumbnails, and any application using the Windows Imaging Component. The bug is a classic CWE-125 Out-of-bounds Read: CHEIFItemInfoEntry_GetDataSize signals success while the size-out parameter remains zero, so the caller allocates a 1-byte destination buffer; CopyPixels then computes copy_size = stride * abs(roi_height) and issues a memmove without validating the source buffer length, reading past the small allocation and into adjacent memory. Because parsing is triggered automatically by the OS shell and many apps whenever a HEIF/HEIC file is rendered, the attack surface extends well beyond an explicitly opened image. The CPE entry is generic ('a:n/a:n/a'), so exact product mapping must be derived from the description rather than NVD CPE data.

Know when N A gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
vuln.today AI 8.1 HIGH

Network-delivered malicious image but a user or application must open/preview it, so UI:R; OOB read yields memory disclosure (C:H) and likely crash (A:H) with no integrity impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High

Lifecycle Timeline

3
CVSS changed
Jun 22, 2026 - 18:23 NVD
9.1 (CRITICAL)
CVE Published
Jun 19, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)
CVE Published
Jun 19, 2026 - 00:00 cve.org
CRITICAL 9.1

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Microsoft HEIF Image Extensions 1.2.22.0 contains a critical vulnerability allowing remote attackers to trigger process crashes and disclose sensitive memory contents through crafted HEIF images. This creates immediate risk to confidentiality and system availability for organizations processing image files. No patch is currently available, requiring urgent implementation of compensating controls.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict HEIF image processing to isolated, sandboxed environments with limited data access; disable HEIF support in email clients and web browsers if not operationally required; implement strict input validation and file-type filtering on image uploads; enable detailed logging and alerting for HEIF processing errors; maintain network segmentation to contain impact from potential compromise of image processing systems.

Threat Intelligence Overview

EPSS Score
0.4%
Top 65% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Partial

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy