CVE-2011-2005

From Exploited flaws, HARD’s guide to the flaws being used in attacks · Checked
This article is about a flaw in Microsoft Ancillary Function Driver (afd.sys). For every flaw being used in attacks, see Exploited flaws; for Microsoft’s, see Microsoft flaws being used in attacks.

CVE-2011-2005 is a security flaw in Microsoft Ancillary Function Driver (afd.sys). Someone who already has a foothold can use Microsoft Ancillary Function Driver (afd.sys) to take full control of the machine. The US Cybersecurity and Infrastructure Security Agency (CISA) added it to its catalog of flaws known to be used in attacks on 28 Mar 2022.[1]

Microsoft Ancillary Function Driver (afd.sys) is business software or equipment. Most families won’t have it, but attackers break into it to get inside companies, and from there to what those companies hold about their customers, patients and staff. Microsoft has published a fix or advice.

Description

CISA calls it an improper input validation in Microsoft Ancillary Function Driver (afd.sys). In its words: “afd.sys in the Ancillary Function Driver in Microsoft Windows does not properly validate user-mode input passed to kernel mode, which allows local users to gain privileges via a crafted application.”[1]

The CVE record adds: “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."”[2]

The underlying weakness is permissions and access control (CWE-264), in MITRE’s list of common software weaknesses.

It scores 7.8 out of 10 on the Common Vulnerability Scoring System, which rates it high, scored by NVD using CVSS 3.1.[2]

Affected versions

NVD’s record doesn’t list version ranges for it; Microsoft’s advisory has them[3]. CISA names the product as Microsoft Ancillary Function Driver (afd.sys).

Most families won’t have Microsoft Ancillary Function Driver (afd.sys); it’s for whoever looks after IT at work.

Exploitation

CISA added it to its catalog of known exploited vulnerabilities on 28 Mar 2022, 3,820 days after it was made public. CISA lists a flaw only when it has reliable evidence of it being exploited, and gave US federal agencies until 18 Apr 2022 to fix it.[1]

FIRST’s Exploit Prediction Scoring System, which estimates how likely a flaw is to be used in attacks in the next 30 days from what it sees across the internet, puts it at 32%. That’s in the top 2% of the flaws it scores.[4]

CISA assesses it as not automatable: each attack takes some work.

CISA doesn’t say who was attacked, or how.

Fix

Microsoft has published a fix or advice.[3] CISA’s required action: “Apply updates per vendor instructions.”[1]

  1. Check whether you use it.Microsoft Ancillary Function Driver (afd.sys) is business software or equipment, so most families won’t have it. If you run a business, or work from home on company equipment, ask whoever looks after your IT.
  2. Send this page to your IT person.Ask them to confirm it’s fixed, or not in use. CISA gave US government agencies until 18 Apr 2022 to fix it.
  3. If it can’t be fixed, take it offline.CISA’s advice when there’s no fix is to stop using the product, or take it off the internet, until there is one.

You can’t fix someone else’s server, but you can watch for what follows a break-in like this: a breach notice, a password reset you didn’t ask for, or a scam message that knows things it shouldn’t. HARD watches for those for you and your family.

Timeline

DateEvent
The flaw is made public in the National Vulnerability Database, with a severity score of 7.8.[2]
CISA adds it to its catalog of flaws known to be used in attacks.[1]
CISA’s deadline for US government agencies to fix it.[1]
FIRST puts the odds of it being used in attacks in the next 30 days at 32%.[4]

See also

Other Microsoft flaws

  • CVE-2026-96951, Microsoft Windows: command injection ·
  • CVE-2026-65660, Microsoft SharePoint: code injection ·
  • CVE-2026-85880, Microsoft Windows: heap-based buffer overflow ·
  • CVE-2026-81963, Microsoft Windows: link following ·
  • CVE-2019-1068, Microsoft SQL Server: remote code execution ·

Other permissions and access control flaws

  • CVE-2015-3246, Red Hat Libuser: race condition ·
  • CVE-2013-0643, Adobe Flash Player: incorrect default permissions ·
  • CVE-2015-0310, Adobe Flash Player: ASLR bypass ·
  • CVE-2013-3993, IBM InfoSphere BigInsights: invalid input ·
  • CVE-2013-0422, Oracle Java Runtime Environment (JRE): JRE remote code execution ·

Added the same day

  • CVE-2022-1096, Chrome and other Chromium browsers: type confusion ·
  • CVE-2022-0543, Redis Debian-specific Redis Servers: debian-specific redis server lua sandbox escape ·
  • CVE-2021-38646, Microsoft Office: access connectivity engine remote code execution ·
  • CVE-2021-34486, Microsoft Windows: event tracing privilege escalation ·
  • CVE-2021-26085, Atlassian Confluence Server: pre-authorization arbitrary file read ·

Every Microsoft flaw on CISA’s list · Everything added in March 2022

References

  1. ^ Cybersecurity and Infrastructure Security Agency. “Microsoft Ancillary Function Driver (afd.sys) Improper Input Validation Vulnerability”. Known Exploited Vulnerabilities Catalog, added 28 Mar 2022.
  2. ^ National Institute of Standards and Technology. “CVE-2011-2005 Detail”. National Vulnerability Database, published 12 Oct 2011.
  3. ^ Microsoft. Advisories and fixes: docs.microsoft.com.
  4. ^ FIRST. “Exploit Prediction Scoring System”. EPSS 0.318, percentile 98.3, 31 Oct 2026.
  5. CVE Program. “CVE-2011-2005”. The official CVE record.

This article is built from CISA’s catalog (version 2026.10.30), NVD’s record and FIRST’s scores, kept in HARD’s database and checked every morning. The plain English is HARD’s.