Skip to content
Memory corruption Write-up Advanced

CVE-2025–21298 Windows OLE Remote Code Execution Vulnerability

A memory corruption flaw in Windows OLE allows specially crafted RTF files or emails to execute arbitrary code when opened or even previewed in Outlook. An attacker could steal data, install malware, or take control of the victim's system.

medium.com

Published on medium.com

CVE-2025-21298 is a critical vulnerability in Windows Object Linking and Embedding (OLE) technology, which enables remote code execution (RCE) with a CVSS severity score of 9.8. OLE is a proprietary Microsoft technology that allows embedding and linking documents and objects.

Amal PK, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a memory corruption bug in how Windows OLE processes specially crafted RTF content.

Impact

Exploitation could allow an attacker to steal data, install malware, or gain unauthorised control of the victim's system, with high confidentiality, integrity, and availability impacts.

What the attacker needed

Victim opens or previews a malicious RTF file or email; Outlook or another OLE-compatible application

The fix

Microsoft released a security update to address the vulnerability; users should apply it immediately, and those unable to update can configure Outlook to read all emails in plain text.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

OLE is a Microsoft technology that lets documents embed and link other objects. A bug in how Windows handles OLE content inside RTF files means a malicious file or email can run code on your computer just by being opened or previewed. This is serious because it can let an attacker take over your machine.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.