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-2025-64344

CVE-2025-64344: Oisf Suricata Buffer Overflow Vulnerability

CVE-2025-64344 is a buffer overflow vulnerability in Oisf Suricata that occurs when working with large buffers in Lua scripts, potentially causing stack overflow. This article covers technical details, affected versions, and mitigation.

Published: April 29, 2026

CVE-2025-64344 Overview

CVE-2025-64344 is a stack overflow vulnerability affecting Suricata, a widely-deployed network intrusion detection system (IDS), intrusion prevention system (IPS), and network security monitoring (NSM) engine developed by the Open Information Security Foundation (OISF). The vulnerability exists in the Lua scripting interface, where processing large buffers can trigger a stack overflow condition, potentially leading to denial of service.

Prior to versions 7.0.13 and 8.0.2, working with large buffers in Lua scripts can exhaust the available stack space. This vulnerability affects users who leverage Lua rules and output scripts, particularly when those scripts process large data buffers. An attacker could exploit this by crafting network traffic that causes a Lua rule to process an oversized buffer, triggering the stack overflow and crashing the Suricata process.

Critical Impact

Exploitation of this vulnerability can cause Suricata to crash, resulting in a complete loss of network monitoring and intrusion prevention capabilities, leaving the network unprotected against malicious traffic.

Affected Products

  • OISF Suricata versions prior to 7.0.13
  • OISF Suricata versions prior to 8.0.2
  • Deployments utilizing Lua rules or Lua output scripts

Discovery Timeline

  • 2025-11-26 - CVE-2025-64344 published to NVD
  • 2025-12-03 - Last updated in NVD database

Technical Details for CVE-2025-64344

Vulnerability Analysis

This vulnerability is classified under CWE-121 (Stack-based Buffer Overflow) and CWE-787 (Out-of-bounds Write). The flaw manifests when Suricata's Lua scripting engine processes buffers that exceed the available stack space. In network security monitoring scenarios, Suricata may encounter large HTTP response bodies, reassembled TCP streams, or other network data that gets passed to Lua scripts for custom inspection or logging.

When a Lua script attempts to work with these large buffers, the stack memory allocated for the operation can be exceeded. This is particularly problematic because Suricata operates as a critical security component—a crash not only disrupts monitoring but also potentially allows malicious traffic to pass undetected during the service disruption.

The attack can be executed remotely over the network without requiring authentication or user interaction. An attacker with knowledge of the deployed Lua rules could craft traffic specifically designed to pass large buffers to vulnerable script handlers, causing the stack to overflow and the Suricata process to terminate.

Root Cause

The root cause lies in insufficient boundary checking when handling buffer data within Lua script execution contexts. The Lua HTTP accessor functions in src/util-lua-http.c did not properly validate buffer sizes before stack allocation operations. Additionally, the code contained null pointer dereference issues that were addressed in the security patch. When extremely large buffers from network traffic (such as HTTP response bodies or reassembled stream data) are passed to Lua scripts, the stack cannot accommodate the memory requirements, leading to overflow.

Attack Vector

The vulnerability can be exploited through network-based attacks by sending specially crafted traffic to a network monitored by Suricata. The attack sequence involves:

  1. An attacker identifies that a target network uses Suricata with Lua-based rules or output scripts
  2. The attacker crafts network traffic (such as HTTP responses with large bodies) that will trigger Lua script processing
  3. When Suricata processes this traffic and passes the large buffer to a Lua script, the stack overflows
  4. Suricata crashes, causing temporary loss of network security monitoring

The security patch addresses this issue by fixing null dereference handling in the TX HTTP accessor functions:

c
  */
 
 #include "suricata-common.h"
 #include "app-layer-htp.h"
 #include "util-lua.h"
 #include "util-lua-common.h"

Source: GitHub Commit e13fe6a

Detection Methods for CVE-2025-64344

Indicators of Compromise

  • Unexpected Suricata process crashes or restarts, particularly during periods of high network traffic
  • Core dumps or crash logs indicating stack overflow conditions in Lua-related functions
  • Segmentation fault errors in Suricata logs referencing util-lua-http.c or Lua script execution
  • Abnormally large HTTP responses or reassembled stream data in network traffic preceding crashes

Detection Strategies

  • Monitor Suricata process stability and alert on unexpected terminations or frequent restarts
  • Implement log analysis for stack overflow indicators, segmentation faults, or Lua execution errors
  • Review network traffic logs for unusually large HTTP response bodies that coincide with Suricata crashes
  • Deploy application-level monitoring to track memory usage patterns in Suricata processes

Monitoring Recommendations

  • Configure system monitoring to track Suricata process health and automatically alert on crashes
  • Enable verbose logging for Lua script execution to identify problematic buffer handling
  • Monitor for traffic patterns that may indicate attempted exploitation, such as repeated large HTTP responses to monitored segments
  • Set up automated restart mechanisms with alerting to maintain continuous protection while investigating incidents

How to Mitigate CVE-2025-64344

Immediate Actions Required

  • Upgrade Suricata to version 7.0.13 or 8.0.2 immediately to patch the vulnerability
  • Review all deployed Lua rules and output scripts to identify those that process potentially large buffers
  • Implement buffer size limits as described in the workaround section if immediate patching is not possible
  • Monitor Suricata logs closely for signs of exploitation attempts or crashes

Patch Information

OISF has released patched versions of Suricata that address this vulnerability. Users should upgrade to version 7.0.13 (for the 7.x branch) or version 8.0.2 (for the 8.x branch). The security fix is documented in the GitHub Security Advisory and the specific commit can be reviewed at the OISF Suricata repository.

Workarounds

  • Disable Lua rules and output scripts entirely if they are not critical to your deployment
  • Configure stream.depth.reassembly to limit the size of reassembled stream data passed to Lua scripts
  • Set HTTP response body limits using response-body-limit configuration option to less than half the stack size
  • Implement strict input validation in custom Lua scripts to reject oversized buffers before processing
bash
# Configuration example for suricata.yaml
# Set stream reassembly depth limit
stream:
  reassembly:
    depth: 1mb

# Set HTTP response body limit
app-layer:
  protocols:
    http:
      libhtp:
        default-config:
          response-body-limit: 1mb

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechOisf Suricata

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.06%

  • 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-121

  • CWE-787
  • Technical References
  • GitHub Security Advisory
  • Vendor Resources
  • GitHub Commit Update
  • Related CVEs
  • CVE-2026-22262: Oisf Suricata Buffer Overflow Vulnerability

  • CVE-2025-64331: Oisf Suricata Buffer Overflow Vulnerability

  • CVE-2025-64330: Oisf Suricata Buffer Overflow Vulnerability

  • CVE-2026-22261: Oisf Suricata DOS Vulnerability
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