← Vulnerability feed

Vulnerability record · CVE-2011-2005 · published 12 October 2011

CVE-2011-2005: Microsoft Windows afd.sys input validation privilege escalation

Microsoft · Windows Server 2003

The Ancillary Function Driver (afd.sys) in Windows XP SP2/SP3 and Server 2003 SP2 fails to properly validate user-mode input passed to kernel mode. A local attacker can exploit this to elevate privileges to kernel level. The flaw is old but is listed in CISA KEV, so it remains relevant for unpatched legacy systems.

7.8 CVSS 3.1 High CISA KEV since 28 Mar 2022 EPSS 32% · top 1.8%
7.8CVSS 3.1 base score, v2 7.2
32%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
2Affected product versions listed by NVD
5References
16 Jun 2026Last modified by NVD

Description

afd.sys in the Ancillary Function Driver in Microsoft Windows XP SP2 and SP3 and Server 2003 SP2 does not properly validate user-mode input passed to kernel mode, which allows local users to gain privileges via a crafted application, aka "Ancillary Function Driver Elevation of Privilege 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 vulnerability is in CISA KEV with high EPSS and allows full kernel privilege escalation, though it requires local access and user interaction on legacy systems.

What it is

The Ancillary Function Driver (afd.sys) in Windows XP SP2/SP3 and Server 2003 SP2 fails to properly validate user-mode input passed to kernel mode. A local attacker can exploit this to elevate privileges to kernel level. The flaw is old but is listed in CISA KEV, so it remains relevant for unpatched legacy systems.

Impact

An attacker who can run code on the host gains kernel-level privileges, allowing full control of the affected system. This can lead to credential theft, disabling of security controls, and further lateral movement.

Attack surface

The vulnerability is local (AV:L) and requires user interaction (UI:R), meaning an attacker must already have a foothold or convince a user to run a crafted application. No authentication is needed beyond local access.

Exploitation

CVE-2011-2005 is in CISA KEV (added 2022-03-28) and has a high EPSS probability of 0.318 (98th percentile), indicating active exploitation in the wild. No ransomware campaign use is documented.

What to do

  • Apply the Microsoft security update MS11-080 immediately on affected Windows XP and Server 2003 systems.
  • If patching is not possible, isolate or decommission legacy XP/2003 hosts from untrusted networks.
  • Restrict local interactive logon and application execution to trusted users only.
  • Monitor for and block execution of untrusted binaries that attempt to interact with afd.sys.
  • Migrate remaining workloads off Windows XP and Server 2003 to supported operating systems.

Detection

  • Monitor for suspicious local process creation events that load or interact with afd.sys unexpectedly.
  • Audit Windows Security logs for privilege escalation attempts or token manipulation on legacy hosts.
  • Use EDR to detect crafted applications exploiting kernel input validation flaws in afd.sys.
  • Check for known exploit artifacts or unusual child processes spawned from user-writable directories on XP/2003 systems.

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-2011-2005 to the Known Exploited Vulnerabilities catalog on 28 March 2022 as "Microsoft Ancillary Function Driver (afd.sys) Improper Input Validation Vulnerability". Required action: Apply updates per vendor instructions. Federal deadline 18 April 2022.

Affected products

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

References

Track CVE-2011-2005 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.

9.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%analysed8.8CVE-2015-2360Microsoft Windows win32k.sys memory corruption privilege escalationwin32k.sys in the Windows kernel-mode drivers mishandles memory, allowing a local user to corrupt memory through a crafted application. The flaw is a…KEVEPSS 15%analysed8.8CVE-2014-6324Microsoft Windows Kerberos KDC privilege escalation via forged ticket signatureThe Kerberos Key Distribution Center (KDC) in multiple Windows client and server versions fails to properly validate the signature (checksum) in a ti…KEVEPSS 87%analysed8.8CVE-2014-6332Windows OLE Automation SafeArrayDimen array redimensioning remote code executionOleAut32.dll in Windows OLE mishandles a size value in the SafeArrayDimen function, allowing an array-redimensioning attempt to corrupt memory. A cra…KEVEPSS 95%analysed8.8CVE-2014-4148Windows win32k.sys TrueType font parsing remote code executionA code injection flaw in the win32k.sys kernel-mode driver lets a crafted TrueType font trigger arbitrary code execution. Because font parsing sits i…KEVEPSS 60%analysed8.8CVE-2013-3918Microsoft Windows InformationCardSigninHelper ActiveX out-of-bounds writeThe InformationCardSigninHelper ActiveX control in icardie.dll contains an out-of-bounds write that can be triggered by a crafted web page rendered i…KEVEPSS 74%analysed8.8CVE-2011-3402Microsoft Windows TrueType Font Parsing Remote Code ExecutionThe TrueType font parsing engine in win32k.sys on multiple Windows versions fails to properly handle crafted font data, allowing remote code executio…KEVEPSS 78%analysed8.8CVE-2008-0015Microsoft DirectShow Video ActiveX Control Stack Buffer OverflowA stack-based buffer overflow in the CComVariant::ReadFromStream function in the Active Template Library (ATL) is reachable through the MPEG2TuneRequ…KEVEPSS 77%analysed

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