Suricata, Stack Overflow, CVE-2025-64333 (Critical)

Listen to this Post

How the mentioned CVE works:

  • Suricata processes HTTP network traffic.
  • It logs HTTP content type headers.
  • A large content type string exceeds stack buffer.
  • Insufficient bounds checking in logging function.
  • Fixed-size stack buffer overflows during copy.
  • This corrupts adjacent memory on stack.
  • Leads to application crash or termination.
  • Can be triggered remotely via network.
  • Attackers send crafted HTTP packets.
  • Specifically, with oversized Content-Type header.
  • Vulnerability activates when logging enabled.
  • Stream reassembly depth influences overflow.
  • Higher depth allows larger content processing.
  • Stack overflow crashes Suricata engine.
  • Causes denial of service for IDS/IPS.
  • Potentially allows remote code execution.
  • Patched by validating content type length.
  • Workaround reduces stream.reassembly.depth.
  • Increasing stack size mitigates risk.
  • Fixed in versions 7.0.13 and 8.0.2.
    Platform: Suricata
    Version: Before 7.0.13/8.0.2
    Vulnerability: Stack overflow
    Severity: Critical
    Date: 11/26/2025

Prediction: Patched in 2025

What Undercode Say:

Analytics:

Bash commands:

suricata –version

grep stream.reassembly.depth suricata.yaml

sed -i ‘s/stream.reassembly.depth:./stream.reassembly.depth: 1024/’ suricata.yaml

Codes:

// Vulnerable log function snippet

void log_http_content_type(char type) {

char buffer[bash];

strcpy(buffer, type); // Overflow here

}

How Exploit:

Craft HTTP packets with oversized Content-Type headers to trigger stack overflow and crash Suricata.

Protection from this CVE:

Update to Suricata 7.0.13 or 8.0.2. Limit stream.reassembly.depth configuration.

Impact:

Denial of service, potential remote code execution.

🎯Let’s Practice Exploiting & Learn Patching For Free:

Sources:

Reported By: nvd.nist.gov
Extra Source Hub:
Undercode

🔐JOIN OUR CYBER WORLD [ CVE News • HackMonitor • UndercodeNews ]

💬 Whatsapp | 💬 Telegram

📢 Follow DailyCVE & Stay Tuned:

𝕏 formerly Twitter 🐦 | @ Threads | 🔗 Linkedin Featured Image

Scroll to Top