← Vulnerability feed

Vulnerability record · CVE-2012-0151 · published 10 April 2012

CVE-2012-0151: Microsoft Windows Authenticode Signature Verification PE Digest Validation Flaw

Microsoft · Windows 7

The Authenticode Signature Verification function (WinVerifyTrust) in multiple Microsoft Windows versions fails to properly validate the digest of a signed portable executable file. A modified PE file with appended content can retain a valid-looking signature, allowing the tampered file to pass signature checks. This undermines the trust placed in signed binaries and enables code execution from a file that appears legitimately signed.

7.8 CVSS 3.1 High CISA KEV since 8 Jun 2022 EPSS 88% · top 0.2% CWE-20 · Improper input validation
7.8CVSS 3.1 base score, v2 9.3
88%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
5Affected product versions listed by NVD
13References
16 Jun 2026Last modified by NVD

Description

The Authenticode Signature Verification function in Microsoft Windows XP SP2 and SP3, Windows Server 2003 SP2, Windows Vista SP2, Windows Server 2008 SP2, R2, and R2 SP1, Windows 7 Gold and SP1, and Windows 8 Consumer Preview does not properly validate the digest of a signed portable executable (PE) file, which allows user-assisted remote attackers to execute arbitrary code via a modified file with additional content, aka "WinVerifyTrust Signature Validation Vulnerability."

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 17 September 2026. Confidence: high.

high priorityThe flaw allows code execution via a tampered signed binary, is listed in CISA KEV, and has a very high EPSS score, though exploitation requires local user interaction.

What it is

The Authenticode Signature Verification function (WinVerifyTrust) in multiple Microsoft Windows versions fails to properly validate the digest of a signed portable executable file. A modified PE file with appended content can retain a valid-looking signature, allowing the tampered file to pass signature checks. This undermines the trust placed in signed binaries and enables code execution from a file that appears legitimately signed.

Impact

An attacker can execute arbitrary code in the context of the user who opens or runs the tampered signed file. Integrity and confidentiality of the affected system are fully compromised.

Attack surface

Reached locally when a user opens or executes a crafted PE file, per the CVSS vector AV:L/UI:R with no privileges required. No remote network vector and no authentication are needed; success depends on user interaction.

Exploitation

CVE-2012-0151 is listed in CISA's Known Exploited Vulnerabilities catalog (added 2022-06-08), and EPSS shows a 30-day exploitation probability of 0.8878 (99.8th percentile), indicating active exploitation is expected. No ransomware campaign use is documented.

What to do

  • Apply the Microsoft security update for MS12-024 (KB2653956) to all affected Windows versions.
  • Prioritize patching of Windows XP, Server 2003, Vista, Server 2008, Windows 7, and Windows 8 Consumer Preview systems, which are all listed as affected.
  • Where legacy systems cannot be patched, restrict execution of untrusted PE files and enforce application allowlisting.
  • Verify Authenticode signatures using an updated verification path that checks the full file digest, not just the embedded signature.

Detection

  • Monitor for execution of PE files whose signature validates but whose file size or appended content differs from the signed payload.
  • Alert on process creation events for binaries launched from user-writable directories such as Downloads, Temp, or email attachment folders.
  • Audit Windows event logs and EDR telemetry for WinVerifyTrust-related signature validation anomalies on legacy hosts.
  • Track unpatched Windows XP/2003/Vista/2008/7 systems still present in the environment as high-risk assets.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2012-0151 to the Known Exploited Vulnerabilities catalog on 8 June 2022 as "Microsoft Windows Authenticode Signature Verification Remote Code Execution Vulnerability". Required action: Apply updates per vendor instructions. Federal deadline 22 June 2022.

Affected products

5 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2012-0151 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2020-1350Windows DNS Server improper input validation remote code executionWindows DNS servers fail to properly handle certain requests, allowing remote code execution. The flaw is network-reachable, needs no authentication …KEVEPSS 97%analysed9.8CVE-2019-0708Microsoft Remote Desktop Services use-after-free remote code executionRemote Desktop Services (formerly Terminal Services) contains a use-after-free flaw that lets an unauthenticated attacker execute code by sending spe…KEVEPSS 100%analysed9.8CVE-2017-8543Windows Search memory handling flaw allows remote code executionWindows Search fails to properly handle objects in memory, allowing an unauthenticated remote attacker to execute code on affected Windows systems. T…KEVEPSS 74%analysed9.8CVE-2015-1635Microsoft HTTP.sys remote code execution via crafted HTTP requestsHTTP.sys in multiple Windows versions fails to properly handle crafted HTTP requests, allowing remote code execution. The flaw is reachable over the …KEVEPSS 100%analysed9.8CVE-2008-4250Microsoft Windows Server service RPC path canonicalization buffer overflowThe Server service in multiple Windows versions fails to properly handle path canonicalization, allowing a crafted RPC request to overflow a buffer a…KEVEPSS 99%analysed9.0CVE-2020-1040Microsoft Hyper-V RemoteFX vGPU input validation remote code executionHyper-V RemoteFX vGPU on a host server fails to properly validate input from an authenticated user on a guest operating system, allowing remote code …KEVEPSS 7.4%analysed8.8CVE-2025-33073Windows SMB improper access control allows privilege elevationWindows SMB contains an improper access control flaw (CWE-284) that lets an authorized attacker elevate privileges over the network. Microsoft rates …KEVEPSS 83%analysed8.8CVE-2025-33053Microsoft Windows WebDAV Internet Shortcut File Path Control RCEWindows Internet Shortcut (.url) files allow external control of a file name or path, which an unauthorized attacker can abuse to execute code over a…KEVEPSS 87%analysed

Source: NIST National Vulnerability Database (record CVE-2012-0151), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.