Vulnerabilities/CVE-2025-21298, published 14 January 2025

CVE-2025-21298: Windows OLE use-after-free allows remote code execution

Microsoft, Windows 10 1507

CVE-2025-21298 is a use-after-free flaw in Windows OLE that permits remote code execution. It affects a broad range of Windows client and server releases, and the vendor has published a patch. Because the flaw is memory-corruption based and reachable over the network, it is a serious risk to unpatched systems.

  • 9.8 CVSS 3.1 Critical
  • EPSS 74%, top 0.5%
  • CWE-416, Use after free

Description

Windows OLE Remote Code Execution Vulnerability

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: medium.

Critical priorityCVSS 9.8 with network reachability, no privileges or user interaction, and very high EPSS make this a top patching priority despite no KEV listing.

What it is

CVE-2025-21298 is a use-after-free flaw in Windows OLE that permits remote code execution. It affects a broad range of Windows client and server releases, and the vendor has published a patch. Because the flaw is memory-corruption based and reachable over the network, it is a serious risk to unpatched systems.

Impact

A successful attacker can execute arbitrary code in the context of the affected process, potentially leading to full system compromise. Given the CVSS impact ratings, confidentiality, integrity and availability are all fully impacted.

Attack surface

The CVSS vector indicates network reachability with no privileges and no user interaction required, so the flaw may be triggered by crafted input delivered over the network. The description does not specify the exact protocol or component, so the precise entry point is not detailed in the record.

Exploitation

The record does not list this CVE in CISA KEV and provides no exploit references, but EPSS is very high at roughly 0.81 (99.6th percentile), indicating elevated likelihood of exploitation activity. No ransomware usage is documented.

What to do

  • Apply the Microsoft security update referenced in the vendor advisory as soon as possible.
  • Prioritize patching internet-facing and high-value Windows servers and workstations.
  • Restrict unnecessary network exposure of OLE-related services and block untrusted input paths where feasible.
  • Monitor vendor guidance for any additional workarounds or mitigations.
  • Inventory all affected Windows versions listed in the advisory to confirm coverage.

Detection

  • Monitor for unexpected process crashes or memory corruption events in OLE-related Windows components.
  • Alert on suspicious child processes spawned by Office or OLE host processes.
  • Review network traffic for anomalous payloads targeting Windows OLE services.
  • Correlate endpoint telemetry for use-after-free exploitation patterns such as repeated crashes followed by code execution.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

15 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2025-21298 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2017-8543Windows Search memory handling flaw allows remote code executionWindows Search fails to properly handle objects in memory, allowing an unauthenticated remote attacker to execute code on affected Windows systems. T…KEVEPSS 74%analysed8.8CVE-2023-21674Windows ALPC use-after-free privilege escalationCVE-2023-21674 is a use-after-free (CWE-416) in the Windows Advanced Local Procedure Call (ALPC) subsystem that allows elevation of privilege. It aff…KEVEPSS 34%analysed8.8CVE-2022-41128Windows Scripting Languages out-of-bounds write allows remote code executionCVE-2022-41128 is an out-of-bounds write (CWE-787) in Windows Scripting Languages that leads to remote code execution. Microsoft rates it 8.8 HIGH wi…KEVEPSS 25%analysed8.8CVE-2022-26923Microsoft Active Directory Domain Services certificate validation privilege escalationActive Directory Domain Services fails to properly validate certificate attributes, allowing a low-privileged domain user to obtain a certificate tha…KEVEPSS 84%analysed8.8CVE-2021-40444Microsoft MSHTML remote code execution via malicious Office documentCVE-2021-40444 is a remote code execution flaw in the MSHTML browser rendering engine on Microsoft Windows. An attacker can embed a malicious ActiveX…KEVEPSS 98%analysed8.8CVE-2021-34527Windows Print Spooler privileged file operation RCE (PrintNightmare)The Windows Print Spooler service improperly performs privileged file operations, allowing an attacker to execute arbitrary code as SYSTEM. This is t…KEVEPSS 100%analysed8.8CVE-2020-1020Windows Adobe Type Manager Library font parsing out-of-bounds write RCEMicrosoft Windows Adobe Type Manager Library mishandles a specially crafted multi-master font in Adobe Type 1 PostScript format, causing an out-of-bo…KEVEPSS 65%analysed8.8CVE-2019-0903Windows GDI memory handling remote code executionWindows Graphics Device Interface (GDI) mishandles objects in memory, allowing remote code execution. The record gives no root-cause detail beyond th…KEVEPSS 22%analysed

Source: NIST National Vulnerability Database (record CVE-2025-21298), CISA KEV, FIRST EPSS (scores of 2026-12-01). This page is refreshed as NVD updates the record.