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

Microsoft Virtual Hard Disk Elevation of Privilege Vulnerability (CVE-2025-47971)

A buffer over-read in the Virtual Hard Disk (VHDX) component allows a local attacker to elevate privileges. An attacker who tricks a local user into mounting a specially crafted VHD file could gain SYSTEM privileges.

Donghyeon Oh Follow

Originally disclosed on Microsoft

High 7.8 View original

Description

Buffer over-read in Virtual Hard Disk (VHDX) allows an unauthorized attacker to elevate privileges locally.

FAQ

According to the CVSS metric, the attack vector is local (AV:L) while user interaction is required (UI:R). What does that mean for this vulnerability? An attacker can trick a local user on a vulnerable system into mounting a specially crafted VHD that would then trigger the vulnerability.

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.

Virtual Hard Disk (VHDX)

Virtual Hard Disk (VHDX)

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Donghyeon Oh. 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 missing bounds check when parsing VHDX file structures leads to reading beyond the intended buffer.

Impact

An attacker who successfully exploited this vulnerability could gain SYSTEM privileges, but only if a local user mounts a specially crafted VHD.

What the attacker needed

Local access to the system; victim mounts a crafted VHD file

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.

A buffer over-read happens when a program reads more data than it should from memory, which can leak information or cause a crash. Here, a malicious virtual hard disk file can exploit this flaw when opened, letting an attacker gain the highest level of control on the computer (SYSTEM). The attacker must first convince someone on the machine to mount the file.

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 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.