Avast and AVG Windows Anti-Rootkit Driver Double Fetch Vulnerability Allowing Arbitrary Code Execution or Denial-of-Service

Vulnerability

A double fetch vulnerability has been identified in the Avast and AVG Windows Anti-Rootkit driver, specifically in the socket connection handler of the kernel driver aswArPot.sys, prior to version 22.1. This vulnerability allows local attackers to execute arbitrary code in kernel mode or cause a denial-of-service by corrupting memory and crashing the operating system. The issue arises because the vulnerable function fetches a user-controlled length value twice, creating a race condition that attackers can exploit to manipulate the length variable and execute arbitrary code.

Impact

Exploitation of this vulnerability could lead to unauthorized execution of code in kernel mode, with potential consequences such as disabling security features, overwriting system components, causing memory corruption and operating system crashes, or bypassing security products altogether.

Reproduction

The vulnerability can be reproduced by initiating a socket connection from a user-mode application. Once the connection is established, the application can send data that exploits the double fetch vulnerability by manipulating the length of the command line parameters processed by the aswArPot.sys driver. This can be done by flipping the Length field in the process command line structure, creating a race condition that the driver fails to handle properly.

Remediation

Users of Avast and AVG will receive the patch to version 22.1 automatically, but those with air-gapped or on-premise installations should apply the patch as soon as possible.

Added: May 8, 2026, 5:26 AM
Updated: May 8, 2026, 5:26 AM

Vulnerability Rating

Custom Algorithm
spread
8.4
impact
2.5
exploitability
3.6
remediation
7.7
relevance
7.3
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.