A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-2024-40764

CVE-2024-40764: SonicWall SonicOS DoS Vulnerability

CVE-2024-40764 is a heap-based buffer overflow in SonicWall SonicOS IPSec VPN that allows remote attackers to cause denial of service. This article covers the technical details, affected versions, impact, and mitigation.

Updated: May 15, 2026

CVE-2024-40764 Overview

CVE-2024-40764 is a heap-based buffer overflow vulnerability in the SonicOS IPSec VPN component. An unauthenticated remote attacker can exploit the flaw over the network to trigger a Denial of Service (DoS) condition on affected SonicWall firewalls. The vulnerability is tracked under [CWE-122] (Heap-based Buffer Overflow) and [CWE-787] (Out-of-bounds Write).

The issue affects a broad range of SonicWall hardware appliances and virtual firewalls, including the TZ, NSa, NSsp, and NSv product families. Because the IPSec VPN service is typically exposed to the internet, the attack surface for this flaw is substantial.

Critical Impact

Successful exploitation crashes the SonicOS firewall service, disrupting VPN connectivity and network traffic enforcement for all users behind the affected device.

Affected Products

  • SonicWall SonicOS (multiple versions)
  • SonicWall TZ series: TZ270, TZ270W, TZ370, TZ370W, TZ470, TZ470W, TZ570, TZ570P, TZ570W, TZ670
  • SonicWall NSa series (2700, 3700, 4700, 5700, 6700) and NSsp series (10700, 11700, 13700, 15700)
  • SonicWall NSv virtual firewalls (NSv10, NSv25, NSv50, NSv100, NSv200, NSv270, NSv300, NSv400, NSv470, NSv800, NSv870, NSv1600)

Discovery Timeline

  • 2024-07-18 - CVE-2024-40764 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-40764

Vulnerability Analysis

The vulnerability resides in the IPSec VPN handler within SonicOS. The code path allocates a heap buffer and writes attacker-controlled data into it without correctly validating size constraints. This out-of-bounds write corrupts adjacent heap metadata or structures, leading to a process crash.

Because the affected component is the IPSec VPN service, exploitation does not require authentication or user interaction. The attacker only needs network reachability to the IKE/IPSec listener, which is typically the WAN interface. The EPSS score of 10.163% (93rd percentile) indicates elevated exploitation likelihood relative to most CVEs.

Root Cause

The root cause is insufficient bounds checking when parsing or copying IPSec VPN protocol data into a heap-allocated buffer. CWE-122 and CWE-787 classifications confirm both the heap location and the out-of-bounds write primitive. SonicWall's advisory does not disclose the specific protocol field or function, but heap corruption in IPSec parsers typically involves malformed IKE payloads or oversized attribute fields.

Attack Vector

An attacker sends crafted IPSec VPN packets to the WAN-facing IKE service on UDP port 500 or 4500. The malformed payload triggers the over-sized write during processing, corrupting heap structures. The result is a crash of the SonicOS process, terminating active VPN tunnels and disrupting firewall operations until the device recovers or reboots. No exploit code is publicly available at this time, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog.

Refer to the SonicWall Vulnerability Advisory SNWLID-2024-0012 for vendor-supplied technical details.

Detection Methods for CVE-2024-40764

Indicators of Compromise

  • Unexpected reboots or service restarts on SonicWall firewall appliances
  • IPSec VPN tunnels dropping simultaneously across multiple peers
  • SonicOS crash dumps or kernel panic events in device logs
  • Inbound IKE/IPSec traffic from untrusted sources preceding device instability

Detection Strategies

  • Monitor SonicOS event logs for repeated IPSec process crashes or watchdog-triggered reboots
  • Inspect netflow or firewall telemetry for anomalous UDP/500 and UDP/4500 traffic patterns from external IPs
  • Correlate VPN tunnel failure events with inbound IKE traffic spikes to identify probing attempts
  • Forward firewall syslog data to a centralized SIEM and alert on repeated daemon restarts

Monitoring Recommendations

  • Enable syslog forwarding from all SonicWall devices to a centralized logging platform
  • Track availability metrics and uptime baselines for IPSec VPN services
  • Deploy network IDS signatures for malformed IKE payloads where feasible
  • Alert on inbound IPSec connection attempts from IP addresses outside expected partner ranges

How to Mitigate CVE-2024-40764

Immediate Actions Required

  • Apply the SonicOS firmware updates published in SonicWall Advisory SNWLID-2024-0012
  • Inventory all SonicWall TZ, NSa, NSsp, and NSv devices and validate firmware versions against the advisory
  • Restrict IPSec VPN access to known peer IP addresses using WAN access rules where operationally feasible
  • Subscribe to SonicWall PSIRT notifications to receive future advisories promptly

Patch Information

SonicWall has released fixed SonicOS firmware versions documented in advisory SNWLID-2024-0012. Administrators should consult the advisory for the exact patched versions corresponding to each hardware and virtual appliance model, then schedule firmware upgrades during maintenance windows.

Workarounds

  • Where patching cannot be performed immediately, restrict IPSec VPN connectivity to specific trusted source IP ranges via WAN access policies
  • Disable the IPSec VPN service on devices that do not require it
  • Place SonicWall management and VPN interfaces behind upstream filtering that drops malformed IKE traffic
bash
# Example: restrict IPSec VPN access to trusted peer addresses
# Configure WAN access rules on SonicOS to allow IKE/IPSec only from defined peers
# Source: replace with your trusted peer address objects
# Service: IKE (UDP 500), IPSec NAT-T (UDP 4500)
# Action: Allow from TrustedPeers -> WAN, Deny from Any -> WAN for IKE/NAT-T

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechSonicos

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability10.16%

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

  • CWE-787
  • Vendor Resources
  • SonicWall Vulnerability Advisory SNWLID-2024-0012
  • Related CVEs
  • CVE-2025-32818: SonicOS SSLVPN DoS Vulnerability

  • CVE-2026-0206: SonicOS Buffer Overflow Vulnerability

  • CVE-2026-0205: SonicOS Path Traversal Vulnerability

  • CVE-2026-0204: SonicOS Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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