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

Microsoft Virtual Hard Disk Remote Code Execution Vulnerability (CVE-2025-49683)

An integer overflow or wraparound flaw exists in the Virtual Hard Disk (VHDX) format handling. An attacker who tricks a local user into mounting a specially crafted VHD could trigger the vulnerability, leading to code execution on older systems or denial of service on newer ones.

Cherie-Anne Lee Follow

Originally disclosed on Microsoft

Description

Integer overflow or wraparound in Virtual Hard Disk (VHDX) allows an unauthorized attacker to execute code 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

Why could an attacker achieve remote code execution on affected versions of Window Server 2008, but only cause denial of service on systems running Window Server 2008 R2 or newer versions of Windows? In Windows 7 and newer, an existing mechanism prevents an attacker from achieving remote code execution. They could only use this vulnerability to cause denial of service.

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 Cherie-Anne Lee (@KaligulaSec) with STAR Labs SG Pte. Ltd.. 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 an integer overflow or wraparound when parsing size or offset values in a VHDX file.

Impact

On Windows Server 2008 an attacker could achieve remote code execution, but on Windows 7 and newer an existing mechanism limits the impact to denial of service.

What the attacker needed

Victim mounts a crafted VHD file; local access to the target system

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 virtual hard disk is a file that acts like a real disk inside a virtual machine. This bug is a maths mistake when the software reads the size fields in that file, so a malformed disk image can confuse the program. An attacker needs the victim to open or mount a malicious disk file, and on older Windows versions this can let them run their own code.

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.