Skip to content
RCE Advisory Advanced CVE-2025-53145

Microsoft Message Queuing (MSMQ) Remote Code Execution Vulnerability (CVE-2025-53145)

A type confusion flaw in Windows Message Queuing lets an authenticated attacker send a crafted MSMQ packet to a server and potentially execute code remotely. The text does not give technical details beyond the vendor advisory.

k0shl Follow

Originally disclosed on Microsoft

High 8.8 View original

Description

Access of resource using incompatible type ('type confusion') in Windows Message Queuing allows an authorized attacker to execute code over a network.

FAQ

How could an attacker exploit the vulnerability? To exploit this vulnerability, an authenticated attacker would need to send a specially crafted MSMQ packet to a MSMQ server. This could result in remote code execution on the server side.

Windows Message Queuing

Windows Message Queuing

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by k0shl with Kunlun Lab. 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 type confusion in how the MSMQ service parses incoming packets, causing it to handle data as the wrong type.

Impact

An authenticated attacker could achieve remote code execution on the MSMQ server, though the text does not confirm that exploitation was demonstrated.

What the attacker needed

Authenticated access to the MSMQ server; network reachability to the MSMQ service

The fix

Microsoft requires a customer action, implying a security update should be applied.

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.

Message Queuing is a Windows service that lets programs send messages to each other over a network. A type confusion bug means the software treats one kind of data as another kind, which can lead to unexpected behaviour. Here, an attacker who can already log in could send a specially built message to a server and possibly run their own code on it.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by k0shl

View all

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

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.