LiveBreach Intelligence: data breaches, leaks & ransomware, tracked as they surfaceOngoing protection: GalaxyWarden →
Recent BreachesData breach tracker

CVE-2012-0151: Microsoft Windows Authenticode Signature Verification Remote Code Execution Vulnerability

RBRecent Breaches Vulnerability Intelligence·Jun 8, 2022
High⚠ Actively exploited (CISA KEV)
High
Severity
Active
CISA KEV
No
Ransomware use
Jun 22, 2022
Patch deadline
⚠ Exploited in the wild. CISA added CVE-2012-0151 to its Known Exploited Vulnerabilities catalog on Jun 8, 2022, with a federal patch deadline of Jun 22, 2022 — meaning attackers are actively using it. If you run the affected software, patch it immediately.

The Authenticode Signature Verification function in Microsoft Windows (WinVerifyTrust) does not properly validate the digest of a signed portable executable (PE) file, which allows user-assisted…

CVE-2012-0151 is a remote code execution weakness in Microsoft Windows Authenticode signature verification. The WinVerifyTrust function does not properly validate the digest of a signed portable executable (PE) file, which can let a user-assisted remote attacker run code. It matters because Authenticode is widely used to decide whether binaries are trusted; a failure here can undermine that trust decision on affected Windows systems.

Defenders should treat this as a high-priority code-execution issue in the signature-checking path and confirm exact product scope, fixed builds, and deployment guidance against the vendor advisory before acting.

How it works

This issue is classed as CWE-20 (Improper Input Validation). In plain terms, the Authenticode verification logic does not correctly check the digest of a signed PE file. An attacker who can present a crafted signed PE can abuse that incomplete validation so that verification does not behave as intended.

Abuse is user-assisted and remote: the attacker typically needs the user (or an automated process acting on the user’s behalf) to obtain and open or otherwise process the malicious PE so that WinVerifyTrust evaluates it. Successful abuse can lead to arbitrary code execution in the context of the process performing the check. Specific exploit mechanics, file layouts, or trigger sequences are not detailed here; treat any public proof-of-concept claims cautiously and validate behavior only in controlled labs against the vendor’s description.

Am I affected? How to find it in your systems

The vulnerability affects Microsoft Windows components that perform Authenticode signature verification via WinVerifyTrust. That path appears on endpoints, servers, and any system that loads or validates signed PE files (installers, updates, drivers, administrative tools, and security products that call the same APIs).

Practical inventory steps:

Telemetry and log signs of attempted exploitation are not uniquely documented in the provided facts. In general for this class, watch for unexpected PE loads, signature-verification failures followed by process creation, or alerts from EDR on anomalous binaries that claim valid signatures. Correlate with user activity (downloads, email attachments, removable media). Confirm any detection logic against vendor and EDR guidance rather than inventing signatures.

How to remediate

Patch first. Apply the Microsoft updates that address CVE-2012-0151 exactly as described in the vendor advisory. CISA’s required action is to apply updates per vendor instructions. Use your standard test-and-deploy ring process, then verify installation with inventory and compliance reports.

After patching, harden the broader Authenticode and PE-trust path:

Document residual risk for any systems that cannot take the update immediately and track them for follow-up.

If you can't patch immediately

Use compensating controls until the vendor update is installed:

These steps reduce likelihood and impact but do not replace the official fix. Schedule patching as soon as operationally possible.

If your data may have been exposed

Actively exploited code-execution vulnerabilities can lead to full host compromise and later data theft or ransomware, though ransomware use is not documented for this CVE in the provided facts. If you have indicators of exploitation, follow your incident-response process: isolate affected hosts, preserve evidence, rotate credentials, and assess what data the compromised context could reach. As a routine hygiene step, users and admins can run a free exposure scan of their work email addresses against known breach datasets to see whether those identities already appear in public compilations, then tighten authentication and monitoring accordingly.

AICompiled with AI assistance from public sources and published under our editorial standards.

Details

AffectedMicrosoft · Windows
WeaknessCWE-20
Added to CISA KEVJun 8, 2022
Federal patch deadlineJun 22, 2022
Known ransomware useNot documented
Check if your data is exposed →

Official records: NVD · CISA KEV

← All actively-exploited vulnerabilities