Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/davidcarliez/cve-2026-54992-poc
Vulnerability AnalysisExploitationPenetration TestingLearning & EducationBinary ExploitationLabs & Practice
GitHubdavidcarliez/cve-2026-54992-poc

CVE-2026-54992-PoC

Proof of concept for CVE-2026-54992, an MSMQ remote-read integer overflow

View Repository
5111 month agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-54992 PoC

Proof of concept for the Microsoft Message Queuing remote-read integer overflow tracked as CVE-2026-54992.

The PoC uses two Windows VMs. A normal user on the vulnerable target asks the local MSMQ service to read from a queue hosted by the helper. The helper returns a malformed MS-MQRR response, causing mqsvc.exe on the target to crash. The PoC demonstrates denial of service; it does not demonstrate code execution.

Root cause

mqqm.dll validates each returned packet section separately but, on affected versions, sums their allocation lengths using a 32-bit value without checking for aggregate overflow. This PoC supplies section lengths 0x2000 and 0xffffe010. Their mathematical sum is 0x100000010, which wraps to 0x10. MSMQ allocates packet storage using the wrapped size and then processes the original section lengths, resulting in an out-of-bounds write.

Build

Build the two x64 binaries with MinGW-w64, then copy the folder to both Windows VMs:

root@kitploit:~
make clean all

Run

Use two disposable Windows VMs on an isolated network. The helper and the real MSMQ service both use TCP port 2105, so they must run on separate machines.

On the vulnerable target, run from an elevated PowerShell window:

root@kitploit:~
Set-ExecutionPolicy -Scope Process Bypass
.\setup-target.ps1

On the helper VM, run from an elevated PowerShell window:

root@kitploit:~
Set-ExecutionPolicy -Scope Process Bypass
.\start-emulator.ps1

Then, on the target, run from a normal non-elevated PowerShell window, replacing the address with the helper VM's IPv4 address:

root@kitploit:~
.\invoke-crash.ps1 -Server 192.168.122.53 -IUnderstandThisWillCrashMSMQ

On an affected build, mqsvc.exe terminates and MSMQ stops with service exit code 1067. To reset the lab, run restore-helper.ps1 on the helper and restart MSMQ on the target.

Download Tool