The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2022-26522

CVE-2022-26522: Avast/AVG Anti Rootkit RCE Vulnerability

CVE-2022-26522 is a remote code execution vulnerability in the Avast and AVG Windows Anti Rootkit driver that enables local attackers to execute code in kernel mode. This post covers technical details, affected versions, and mitigation.

Published: May 18, 2026

CVE-2022-26522 Overview

CVE-2022-26522 is a double fetch vulnerability in the aswArPot.sys kernel driver shipped with Avast and AVG Windows Anti Rootkit products. The flaw resides in the socket connection handler at offset aswArPot+0xc4a3. A local attacker with low privileges can exploit this race condition to execute arbitrary code in kernel mode or trigger memory corruption that crashes the operating system. The vulnerability affects versions of the driver before 22.1. SentinelLabs researchers identified the issue and disclosed it to Avast through coordinated disclosure. Because the vulnerable driver runs with kernel privileges, successful exploitation grants full SYSTEM-level control over the affected host.

Critical Impact

Local attackers can execute arbitrary code in kernel mode, achieving full privilege escalation on Windows systems running affected Avast or AVG anti-rootkit drivers.

Affected Products

  • Avast Anti Rootkit driver (aswArPot.sys) before version 22.1
  • AVG Anti Rootkit driver (aswArPot.sys) before version 22.1
  • Windows endpoints with Avast or AVG security products installed

Discovery Timeline

  • 2026-05-08 - CVE-2022-26522 published to NVD
  • 2026-05-08 - Last updated in NVD database

Technical Details for CVE-2022-26522

Vulnerability Analysis

The vulnerability is a double fetch race condition [CWE-367] in the socket connection handler implemented inside aswArPot.sys. A double fetch occurs when kernel code reads the same user-mode memory location twice during a single operation without locking the value. An attacker who modifies that memory between the two reads can desynchronize the driver's validation logic from the value it actually uses.

In this case, the driver fetches a value from user-space memory at offset aswArPot+0xc4a3, validates it, then re-fetches the value for use without re-validation. By winning the race, an attacker substitutes a malicious value after validation completes. The result is kernel-mode memory corruption or arbitrary kernel code execution.

Exploitation requires local code execution as a low-privileged user. No user interaction is needed. Successful exploitation elevates privileges from a standard user account to the kernel, defeating Windows security boundaries including Protected Process Light (PPL) and standard user-mode isolation.

Root Cause

The driver reads attacker-controlled data from user space twice rather than copying it into a kernel buffer once and operating on the trusted copy. This Time-of-Check to Time-of-Use (TOCTOU) pattern is a well-known anti-pattern in Windows kernel driver development. The shared user-mode buffer remains writable between fetches, allowing concurrent threads to alter the value after the kernel's validation step.

Attack Vector

An attacker first executes code locally as any authenticated user. The attacker then opens a handle to the vulnerable driver and issues IOCTL requests targeting the socket connection handler. A second thread concurrently rewrites the shared user-mode buffer between the driver's two fetches. Winning this race causes the driver to operate on attacker-controlled data, producing memory corruption inside kernel address space. The vulnerability mechanism is described in detail in the SentinelOne Vulnerability Report.

Detection Methods for CVE-2022-26522

Indicators of Compromise

  • Unexpected kernel crashes (BSOD) referencing aswArPot.sys in the bugcheck stack trace
  • Processes opening handles to the Avast/AVG anti-rootkit driver from non-standard binaries
  • Anomalous IOCTL traffic to \\.\aswArPot device objects from unsigned or non-Avast processes

Detection Strategies

  • Monitor driver file versions on endpoints and flag aswArPot.sys builds earlier than 22.1
  • Inspect Windows Error Reporting and minidump files for crashes pointing to aswArPot+0xc4a3
  • Correlate local privilege escalation alerts with recent IOCTL activity against Avast/AVG drivers

Monitoring Recommendations

  • Enable kernel-mode crash dump collection and centralize dump analysis
  • Track loaded driver inventory across the fleet to identify outdated aswArPot.sys versions
  • Audit which user-mode processes interact with security product device objects and alert on unexpected callers

How to Mitigate CVE-2022-26522

Immediate Actions Required

  • Update Avast and AVG products to versions containing aswArPot.sys 22.1 or later
  • Inventory all endpoints to confirm the patched driver version is loaded after restart
  • Restrict local logon rights to reduce the pool of users who can attempt local exploitation

Patch Information

Avast addressed the double fetch in aswArPot.sys version 22.1 by serializing the user-mode read into a single kernel-side copy before validation. Customers running affected Avast or AVG Windows products must upgrade to the fixed release. Details on responsible disclosure and reporting are available through the Avast Bug Bounty Program.

Workarounds

  • If immediate patching is not possible, remove or disable the Avast/AVG anti-rootkit component until the update is applied
  • Apply application allowlisting to block untrusted binaries from issuing IOCTLs to the vulnerable driver
  • Enforce least privilege so that standard users cannot run arbitrary executables on production hosts

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechAvast

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.68%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-367
  • Technical References
  • Avast Bug Bounty Program

  • SentinelOne Vulnerability Report
  • Related CVEs
  • CVE-2022-26523: Avast/AVG Anti Rootkit RCE Vulnerability

  • CVE-2020-37037: Avast SecureLine Privilege Escalation Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English