Cloudanix VulnDB

CVE-2025-21298

Critical · 9.8

CVSS

9.8

EPSS

74.4%

Published

Jan 14, 2025

CISA due date

—

Cloudanix analysis

Next patch cycle SSVC: Attend

A malicious email or document could let an attacker take control of a Windows computer unless the latest security updates are installed.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Remote Code Execution
Component
Library
Class
RCE
Remediation
Patch
Effort
Low
Patch risk
Low

What it actually does

CVE-2025-21298 is a critical remote code execution vulnerability in Windows OLE processing. A remote, unauthenticated attacker can trigger unsafe OLE object handling through specially crafted content, commonly delivered as an email or document, and cause arbitrary code execution in the context of the user or process that parses the content. Successful exploitation can allow malware execution, credential theft, persistence installation, lateral movement tooling, or full host compromise depending on the victim user's privileges and endpoint protections.

Why it matters to the business

This flaw creates a high-risk path from a malicious message or document to workstation compromise, which can disrupt operations, expose sensitive data, and give attackers an initial foothold for broader intrusion. The CVSS score is critical and the EPSS score is high, indicating meaningful likelihood of exploitation even though it is not currently listed in CISA KEV and no ransomware linkage is reported. Because Windows OLE is broadly present across Windows fleets and commonly exercised by Office-style content, organizations should treat remediation as urgent for endpoints, mail-handling systems, and high-risk users.

How an attack unfolds

An attacker crafts content that abuses the vulnerable Windows OLE parsing path, typically embedding a malicious OLE structure in an email, RTF, or Office-compatible document. The attacker delivers the content through phishing, a compromised mailbox, file-sharing link, or drive-by download. When the vulnerable component parses the crafted object, memory corruption or unsafe object handling results in attacker-controlled code execution. The payload may launch from an Office or mail client process, stage additional malware, establish command-and-control, dump credentials, or move laterally using the victim's access. Post-exploitation activity is likely to resemble endpoint compromise from a document-borne payload, with suspicious Office or mail-client child processes and newly written executables or scripts.

How to fix it

Apply the Microsoft security updates that address CVE-2025-21298 from the January 2025 Patch Tuesday release or later cumulative updates across all supported Windows systems. Because no exact fixed product versions were provided, use Microsoft Update, WSUS, Intune, SCCM, or the Microsoft Security Update Guide to verify the applicable KBs for each Windows edition and build. Prioritize user workstations, VDI images, terminal servers, mail-processing systems, and systems used by privileged administrators. Where immediate patching is not possible, reduce exposure by blocking or quarantining unsolicited RTF and Office documents from untrusted sources, enabling attachment sandboxing and detonation, disabling automatic preview where operationally feasible, enforcing Protected View and Attack Surface Reduction rules for Office, preventing Office and mail clients from spawning child processes, and ensuring endpoint detection controls are active.

How to confirm the fix worked

Confirm that all affected Windows systems have installed the relevant January 2025 or later cumulative security update that includes the OLE fix. Validate patch state using Microsoft Update compliance reporting, WSUS/SCCM/Intune inventories, vulnerability scanners, or authenticated checks against installed KBs and OS build numbers. Test mail and endpoint controls by verifying that high-risk attachment types are scanned, sandboxed, or blocked according to policy. Confirm that Microsoft Defender Attack Surface Reduction or equivalent EDR policy prevents Office and mail applications from creating suspicious child processes. For representative endpoints, review application behavior to ensure Outlook, Word, and other document-handling applications are patched and no longer trigger known scanner detections for this vulnerability.

Typical attack path

  1. Identify target users likely to open or preview business documents or emails.
  2. Craft a malicious email or document containing a weaponized OLE object that triggers the vulnerable Windows OLE code path.
  3. Deliver the content by phishing, compromised email thread, attachment, file-sharing URL, or web download.
  4. Wait for the content to be parsed by a vulnerable Windows system or associated client application.
  5. Execute attacker-controlled code under the context of the affected user or parsing process.
  6. Spawn a second-stage payload, script interpreter, or living-off-the-land binary.
  7. Establish persistence, perform credential access, discover internal resources, and attempt lateral movement.

How to detect it

To determine whether this vulnerability was already exploited, focus on email, endpoint, and process telemetry around document or mail-client activity. Review mail gateway, Microsoft 365 Defender, Exchange, and secure email gateway logs for suspicious attachments, especially RTF, DOC, DOCX, OLE-containing files, or password-protected archives received from external senders. On endpoints, search Windows Security Event ID 4688, Sysmon Event ID 1, EDR process telemetry, PowerShell logs, and Defender alerts for Office or mail clients spawning unusual child processes such as cmd.exe, powershell.exe, wscript.exe, cscript.exe, mshta.exe, rundll32.exe, regsvr32.exe, certutil.exe, curl.exe, bitsadmin.exe, or installers. Review Sysmon file creation events, Defender quarantine history, and user profile temp directories for payloads written shortly after document or email opening. Look for application crashes or faulting events involving OUTLOOK.EXE, WINWORD.EXE, EXCEL.EXE, POWERPNT.EXE, or OLE-related DLLs followed by new process creation or outbound network connections. Network detections should focus on unusual outbound connections from Office or mail-client processes, connections to newly registered domains, direct-to-IP HTTP/S traffic, or downloads of executable payloads. Because public exploitation maturity is listed as none, detections should be behavior-based rather than dependent on a single known exploit signature.

  • OUTLOOK.EXE spawning cmd.exe
  • OUTLOOK.EXE spawning powershell.exe
  • OUTLOOK.EXE spawning wscript.exe
  • OUTLOOK.EXE spawning cscript.exe
  • OUTLOOK.EXE spawning mshta.exe
  • OUTLOOK.EXE spawning rundll32.exe
  • OUTLOOK.EXE spawning regsvr32.exe
  • OUTLOOK.EXE spawning certutil.exe
  • OUTLOOK.EXE spawning bitsadmin.exe
  • WINWORD.EXE spawning cmd.exe
  • WINWORD.EXE spawning powershell.exe
  • WINWORD.EXE spawning wscript.exe
  • WINWORD.EXE spawning cscript.exe
  • WINWORD.EXE spawning mshta.exe
  • WINWORD.EXE spawning rundll32.exe
  • WINWORD.EXE spawning regsvr32.exe
  • WINWORD.EXE spawning certutil.exe
  • WINWORD.EXE spawning bitsadmin.exe
  • EXCEL.EXE spawning powershell.exe
  • POWERPNT.EXE spawning powershell.exe
  • Event ID 4688 OUTLOOK.EXE powershell.exe
  • Event ID 4688 WINWORD.EXE powershell.exe
  • Sysmon Event ID 1 Image=OUTLOOK.EXE CommandLine=*powershell*
  • Sysmon Event ID 1 Image=WINWORD.EXE CommandLine=*powershell*
  • Sysmon Event ID 1 ParentImage=*\OUTLOOK.EXE Image=*\cmd.exe
  • Sysmon Event ID 1 ParentImage=*\WINWORD.EXE Image=*\cmd.exe
  • Sysmon Event ID 1 ParentImage=*\OUTLOOK.EXE Image=*\mshta.exe
  • Sysmon Event ID 1 ParentImage=*\WINWORD.EXE Image=*\mshta.exe
  • %TEMP%\*.exe created by OUTLOOK.EXE
  • %TEMP%\*.exe created by WINWORD.EXE
  • %APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\*.lnk
  • powershell -enc
  • powershell -EncodedCommand
  • rundll32.exe javascript:
  • regsvr32.exe /s /n /u /i:
  • mshta.exe http
  • certutil.exe -urlcache -split -f
  • bitsadmin /transfer

What your security team should do

  • Patch Windows systems with the January 2025 or later Microsoft security updates that remediate this vulnerability, prioritizing endpoints used for email, document handling, and privileged administration.
  • Run an authenticated vulnerability scan or endpoint compliance query to identify systems missing the relevant cumulative update.
  • Increase monitoring for Outlook, Word, Excel, PowerPoint, or other document-handling processes spawning command shells, script interpreters, download tools, or unsigned executables.
  • Harden email gateways to sandbox, detonate, or block unsolicited RTF, Office, and OLE-bearing attachments from untrusted senders.
  • Enable or enforce Microsoft Defender Attack Surface Reduction rules that block Office applications from creating child processes, creating executable content, or launching script interpreters.
  • Review recent phishing, attachment, and endpoint alerts for suspicious document-triggered process execution since the vulnerability publication date.
  • Ensure EDR telemetry retention is sufficient to investigate process ancestry, dropped files, and network connections from mail and Office applications.
  • Communicate the risk to help desk and end users, emphasizing caution with unexpected attachments and links until patch compliance is complete.

The record

Windows OLE Remote Code Execution Vulnerability

Affected packages

Ecosystem Package Introduced Fixed