Skip to content
Server Security Center
KEVhigh7.8

CVE-2011-2005: Microsoft Ancillary Function Driver (afd.sys) Improper Input Validation

Microsoft Ancillary Function Driver (afd.sys) · listed in the CISA catalog of actively exploited vulnerabilities since 2022-03-28.

CVSS v3.1 (CISA ADP)
7.8
high
EPSS (exploit probability, 30 days)
32%
higher than 98.3% of all CVEs
Added to CISA KEV
2022-03-28
US federal due date 2022-04-18
Automatable (CISA SSVC)
no
technical impact: total

CVE-2011-2005 explained

CVE-2011-2005 is an improper input validation flaw in afd.sys, the Ancillary Function Driver in Microsoft Windows XP SP2 and SP3 and Server 2003 SP2. The driver does not properly validate user-mode input passed to kernel mode, letting local users gain elevated privileges. CISA lists it as known to be exploited by attackers.

Impact

A local user who runs a crafted application can gain elevated privileges on the affected system. The CVSS vector shows a local attack with low complexity, and the flaw can cause high loss of confidentiality, integrity and availability. CISA rates the technical impact as total, meaning full control of the affected component. CISA also rates it as not automatable, so exploitation cannot be scaled without manual steps. Attackers are known to use this vulnerability.

Who is affected

The description names afd.sys in the Ancillary Function Driver in Microsoft Windows XP SP2 and SP3 and Windows Server 2003 SP2. The CVE record itself lists no affected versions for Microsoft Ancillary Function Driver (afd.sys). It also names no fixed version, which does not mean that no fix exists. Check the Microsoft advisory for the applicable update.

Written with AI from the data on this page and checked against it automatically.

Official 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."

CISA required action: Apply updates per vendor instructions.

CISA notes

How to fix it

  • The CVE record names no fixed version – check the vendor advisory and CISA's required action for updates and mitigations.
  • Vendor advisory: docs.microsoft.com/en-us/security-updates/securitybulleti…
  • CISA's deadline for US federal agencies: 2022-04-18 (passed) – a useful benchmark for everyone else, too.

What to do

  1. Apply the Microsoft security update for afd.sys according to the vendor advisory.
  2. Follow CISA's required action: apply updates per vendor instructions.
  3. Identify all systems still running Windows XP SP2, XP SP3 or Server 2003 SP2.
  4. Limit local logon and the ability to run untrusted applications on affected systems.
  5. Check affected systems for signs of compromise, such as unexpected privileged accounts or processes.

The CVE record names no fixed version. Use the Microsoft advisory to identify and install the correct update for each affected system, as CISA's required action states: apply updates per vendor instructions. Until then, restrict which users can log on locally and run applications on affected systems, and monitor for signs of privilege escalation.

Written with AI from the data on this page and checked against it automatically.

CISA's assessment (SSVC)

Exploitation
Exploited in the wild
Automatable
No – each attack needs manual steps
Technical impact
Total – full control of the component or total information disclosure

Weakness: CWE-264

Questions about CVE-2011-2005

Can this be exploited remotely?
No. The attack vector is local. An attacker needs to run a crafted application on the affected system to gain elevated privileges.
Is this vulnerability being exploited?
Yes. CISA added CVE-2011-2005 to its Known Exploited Vulnerabilities catalog on 2022-03-28, with a US federal due date of 2022-04-18. Whether it is used in ransomware campaigns is unknown.
Which systems should I check?
The description names Microsoft Windows XP SP2 and SP3 and Windows Server 2003 SP2. Check any systems running these versions and apply the vendor's update.

Written with AI from the data on this page and checked against it automatically.

References

Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-22. Always confirm with the vendor's or distribution's advisory before patching.