Privilege escalationin Microsoft Ancillary Function Driver (afd.sys).
On CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks.'s exploited list since 28 Mar 2022.
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 requires US federal agencies to fix it by 18 Apr 2022.
Not confirmed by any source yet: affected versions not confirmed; fixed version not confirmed. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 9 May 2011CVE ID reserved by microsoft.
- 12 Oct 2011Published in the CVE List.
- 30 Nov 2011Metasploit module: MS11-080 AfdJoinLeaf Privilege Escalation.
- 28 Mar 2022Added to CISA's Known Exploited Vulnerabilities list.
- 22 Oct 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: Exploited in the wild (CISA KEV). CISA assessment (SSVC): exploitation active.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
- oval.cisecurity.org vdb-entry, signature, x_refsource_OVAL
- docs.microsoft.com vendor-advisory, x_refsource_MS
- www.cisa.gov government-resource
Patchminder. CVE-2011-2005: Privilege escalation in Microsoft Ancillary Function Driver (afd.sys). https://patchminder.com/cve/cve-2011-2005/ (accessed 5 December 2026).