Skip to content
Memory corruption Advisory Advanced CVE-2025-59255

Windows DWM Core Library Elevation of Privilege Vulnerability (CVE-2025-59255)

A heap-based buffer overflow exists in the Windows DWM Core Library. An attacker who already has local access and is authorised could exploit it to gain SYSTEM privileges.

namnp Follow

Originally disclosed on Microsoft

High 7.8 View original

Description

Heap-based buffer overflow in Windows DWM Core Library allows an authorized attacker to elevate privileges locally.

FAQ

What privileges could be gained by an attacker who successfully exploited this vulnerability? An attacker who successfully exploited this vulnerability could gain SYSTEM privileges.

Windows DWM Core Library

Windows DWM Core Library

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by namnp with Viettel Cyber Security. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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

How it worked

Root cause

Likely a heap-based buffer overflow in the Windows DWM Core Library, though the text does not describe the specific coding mistake.

Impact

An attacker who successfully exploited this vulnerability could gain SYSTEM privileges, but only after already having local authorised access.

What the attacker needed

Local access to the machine; authorised attacker

The fix

Microsoft marked customer action as required, implying a patch should be applied, but the text does not describe the fix itself.

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 report has not been written yet. The Original tab links to the source.

The Windows Desktop Window Manager (DWM) is the part of Windows that draws windows and effects on screen. A buffer overflow means a program writes more data into a memory area than it can hold, which can let an attacker take control. Here, someone who can already run code on the machine could use this flaw to become the most powerful user, SYSTEM.

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.

More by namnp

View all

28 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

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.