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
    • 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-2024-1305

CVE-2024-1305: OpenVPN TAP-Windows6 Buffer Overflow Flaw

CVE-2024-1305 is a buffer overflow vulnerability in the OpenVPN TAP-Windows6 driver that allows attackers to overflow memory buffers, causing system crashes or arbitrary code execution in kernel space.

Updated: January 22, 2026

CVE-2024-1305 Overview

CVE-2024-1305 is an Integer Overflow vulnerability affecting the OpenVPN tap-windows6 driver version 9.26 and earlier. The driver fails to properly validate the size data of incoming write operations, allowing an attacker to overflow memory buffers. This can result in a bug check (Blue Screen of Death) and potentially arbitrary code execution in kernel space.

Critical Impact

This vulnerability enables remote attackers to execute arbitrary code with kernel-level privileges on Windows systems running vulnerable versions of the tap-windows6 driver, potentially leading to complete system compromise.

Affected Products

  • OpenVPN tap-windows6 version 9.26 and earlier
  • Windows systems using the tap-windows6 virtual network adapter
  • OpenVPN deployments utilizing the vulnerable TAP driver

Discovery Timeline

  • 2024-07-08 - CVE-2024-1305 published to NVD
  • 2025-08-22 - Last updated in NVD database

Technical Details for CVE-2024-1305

Vulnerability Analysis

The tap-windows6 driver is a virtual network adapter component used by OpenVPN to create TAP (network tap) interfaces on Windows systems. This driver operates at the kernel level, handling network packet data between user-space applications and the network stack.

The vulnerability stems from inadequate size validation when processing write operations. When the driver receives incoming write requests, it fails to properly check the size parameter against expected bounds. This oversight allows an attacker to supply maliciously crafted size values that trigger an integer overflow condition.

When the integer overflow occurs, the driver allocates an insufficient buffer but proceeds to write data based on the original (overflowed) size value. This leads to a classic heap or pool buffer overflow in kernel memory, corrupting adjacent memory structures and potentially allowing an attacker to gain arbitrary code execution in kernel space.

Root Cause

The root cause is CWE-190: Integer Overflow or Wraparound. The tap-windows6 driver does not perform adequate bounds checking on size parameters for incoming write operations. When an attacker provides a size value that causes an integer overflow during buffer allocation calculations, the resulting buffer is smaller than expected, but subsequent write operations use the original size value, causing memory corruption beyond the allocated buffer boundaries.

Attack Vector

The attack can be initiated over the network against systems with the vulnerable tap-windows6 driver installed. An attacker can craft malicious network packets or write requests with specially designed size parameters that trigger the integer overflow. The network-accessible nature of this vulnerability, combined with no authentication requirements and low attack complexity, makes it particularly dangerous for exposed systems.

The exploitation flow involves:

  1. Identifying a target system running the vulnerable tap-windows6 driver
  2. Sending crafted write operations with malicious size parameters
  3. Triggering the integer overflow to cause buffer overflow in kernel memory
  4. Achieving arbitrary kernel code execution or system crash (BSOD)

Detection Methods for CVE-2024-1305

Indicators of Compromise

  • Unexpected Blue Screen of Death (BSOD) errors referencing tap0901.sys or related TAP driver components
  • Crash dumps indicating pool corruption or memory violations in the tap-windows6 driver
  • Unusual network traffic patterns targeting OpenVPN TAP interfaces
  • System event logs showing driver failures or unexpected kernel exceptions

Detection Strategies

  • Monitor for crash events and bug checks involving the tap-windows6 driver (tap0901.sys)
  • Implement endpoint detection rules to identify abnormal write operations to TAP driver interfaces
  • Deploy network intrusion detection signatures for malformed packets targeting OpenVPN TAP adapters
  • Use SentinelOne's behavioral AI to detect anomalous kernel-level activity associated with driver exploitation

Monitoring Recommendations

  • Enable Windows Error Reporting and monitor for recurring tap-windows6 driver crashes
  • Implement kernel-mode monitoring for suspicious memory allocation patterns
  • Monitor OpenVPN logs for unusual connection attempts or malformed data
  • Deploy SIEM rules to correlate network anomalies with endpoint driver events

How to Mitigate CVE-2024-1305

Immediate Actions Required

  • Upgrade tap-windows6 driver to version 9.27 or later immediately
  • Audit all Windows systems for the presence of vulnerable tap-windows6 driver versions
  • Consider temporarily disabling OpenVPN TAP interfaces on critical systems until patching is complete
  • Implement network segmentation to limit exposure of systems running the vulnerable driver

Patch Information

OpenVPN has released tap-windows6 version 9.27 which addresses this vulnerability. Users should update their TAP driver installations through the official OpenVPN distribution channels. For detailed patch information, refer to the OpenVPN CVE-2024-1305 Wiki and the OpenVPN Users Mailing List Post.

Workarounds

  • Restrict network access to systems running the tap-windows6 driver using firewall rules
  • Implement host-based intrusion prevention systems to monitor and block suspicious driver interactions
  • Use SentinelOne's kernel-level protection to detect and prevent exploitation attempts
  • Consider alternative VPN solutions if immediate patching is not feasible
  • Disable unused TAP adapter interfaces to reduce attack surface
bash
# Check installed tap-windows6 driver version on Windows
# Run in elevated PowerShell
Get-WmiObject Win32_PnPSignedDriver | Where-Object {$_.DeviceName -like "*TAP-Windows*"} | Select-Object DeviceName, DriverVersion

# Alternatively, check via device manager export
pnputil /enum-drivers | findstr /i "tap"

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechOpenvpn

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability8.33%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-190
  • Technical References
  • OpenVPN Users Mailing List Post
  • Vendor Resources
  • OpenVPN CVE-2024-1305 Wiki
  • Related CVEs
  • CVE-2026-2738: ovpn-dco-win Buffer Overflow Vulnerability

  • CVE-2025-12106: OpenVPN Buffer Overflow Vulnerability

  • CVE-2025-50054: OpenVPN ovpn-dco-win Buffer Overflow

  • CVE-2024-27459: OpenVPN Buffer Overflow Vulnerability
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