← Vulnerability feed

Vulnerability record · CVE-2011-5046 · published 30 December 2011

CVE-2011-5046: Windows win32k.sys GDI input validation flaw allows remote code execution

Microsoft · Windows 7

The Graphics Device Interface in win32k.sys fails to properly validate user-mode input, allowing memory corruption when crafted data is processed. A large height attribute on an IFRAME element rendered by Safari is cited as a demonstration, and successful exploitation can lead to arbitrary code execution in kernel mode.

9.3 CVSS 2.0 High EPSS 45% · top 1.3% CWE-20 · Improper input validation
9.3CVSS 2.0 base score
45%EPSS exploitation probability, 30 days
NoNot in CISA KEV
5Affected product versions listed by NVD
18References, 2 tagged exploit
16 Jun 2026Last modified by NVD

Description

The Graphics Device Interface (GDI) in win32k.sys in the kernel-mode drivers in Microsoft Windows XP SP2 and SP3, Windows Server 2003 SP2, Windows Vista SP2, Windows Server 2008 SP2, R2, and R2 SP1, and Windows 7 Gold and SP1 does not properly validate user-mode input, which allows remote attackers to execute arbitrary code or cause a denial of service (memory corruption) via crafted data, as demonstrated by a large height attribute of an IFRAME element rendered by Safari, aka "GDI Access Violation Vulnerability."

AV:N/AC:M/Au:N/C:C/I:C/A:C

Automated analysis

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

high priorityCVSS 2.0 score of 9.3 with network reachability and public exploit code, though exploitation requires user interaction and the flaw is long patched.

What it is

The Graphics Device Interface in win32k.sys fails to properly validate user-mode input, allowing memory corruption when crafted data is processed. A large height attribute on an IFRAME element rendered by Safari is cited as a demonstration, and successful exploitation can lead to arbitrary code execution in kernel mode.

Impact

An attacker can execute arbitrary code with kernel privileges or crash the system, giving full control of the affected host.

Attack surface

The vulnerability is reachable remotely over the network (AV:N) with no authentication required, but exploitation requires medium complexity and some form of user interaction such as rendering crafted content.

Exploitation

An Exploit-DB entry is referenced, indicating public exploit code exists, but the CVE is not listed in CISA KEV and no ransomware usage is documented. EPSS shows a high 30-day probability of 0.453 (98.7th percentile).

What to do

  • Apply Microsoft security bulletin MS12-008, which addresses this GDI access violation.
  • Upgrade or retire affected platforms (Windows XP, Server 2003, Vista, Server 2008, Windows 7) that are past end of support.
  • Restrict or disable unnecessary rendering of untrusted web content in Safari and other browsers on affected systems.
  • Enforce least privilege and application allowlisting to limit the impact of successful code execution.

Detection

  • Monitor for unexpected win32k.sys crashes or GDI-related memory corruption events in system logs.
  • Hunt for processes spawning from browser or rendering engines with unusual child processes or kernel-level activity.
  • Track Exploit-DB and vendor advisories for exploit code matching this GDI access violation and correlate with endpoint telemetry.

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

Affected products

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

References

Track CVE-2011-5046 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-2011-5046), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.