CVE-2016-0040 is a local privilege escalation vulnerability in the Windows kernel (Vista SP2, Server 2008 SP2/R2 SP1, Windows 7 SP1) that allows a local attacker to gain SYSTEM privileges by exploiting the GDI bitmap object management in kernel memory. The vulnerability is exploited by manipulating the internal pointer (pvScan0) of a bitmap object through a crafted application, enabling arbitrary kernel memory read/write primitives. The exploit leverages predictable heap allocation of bitmaps and abuses GDI Manager/Worker bitmap relationships to overwrite sensitive kernel structures, such as process tokens.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository contains a single Metasploit module: 'modules/exploits/windows/local/ms16_014_wmi_recv_notif.rb'. The module exploits CVE-2016-0040, a privilege escalation vulnerability in the WMI subsystem of Windows 7 SP0/SP1 x64. The exploit is local and requires an existing Meterpreter session on a vulnerable system. The module checks the OS version and architecture, ensures the session is not already SYSTEM, and then reflectively injects a DLL ('CVE-2016-0040.x64.dll') containing the exploit and payload. Upon successful exploitation, arbitrary code (typically a Meterpreter shell) is executed with SYSTEM privileges. The module is operational and part of the Metasploit framework, targeting Microsoft Windows 7 x64 systems. The only fingerprintable endpoint is the DLL file used for exploitation.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.