Suricata, Stack Buffer Overflow, CVE-2025-64332 (Medium)

Listen to this Post

This vulnerability is a stack-based buffer overflow within Suricata’s SWF (Shockwave Flash) file decompression module. When SWF decompression is enabled (swf-decompression in suricata.yaml), the engine processes compressed SWF data from network traffic. The flaw exists in the decompression algorithm’s handling of specific malformed or crafted SWF `Zlib` streams. During the decompression routine, the code fails to perform adequate bounds checking on the output data being written to a fixed-size stack buffer. By sending a malicious packet containing a specially crafted SWF file with compressed data that decompresses to a size larger than the allocated stack buffer, an attacker can trigger an overflow. This overwrites adjacent memory on the stack, including critical control data like return addresses. The primary immediate result is a denial of service, causing the Suricata process to crash unexpectedly. The vulnerability is exploitable remotely if Suricata is configured as an IPS and processes malicious traffic.

dailycve form:

Platform: Suricata IDS/IPS
Version: <7.0.13, <8.0.2
Vulnerability: Stack Buffer Overflow
Severity: Medium
date: 2025-11-26

Prediction: 2025-11-19 Patched

What Undercode Say:

Analytics:

sudo suricata --build-info
grep "swf-decompression" /etc/suricata/suricata.yaml
sudo suricata -c /etc/suricata/suricata.yaml -i eth0
sudo tail -f /var/log/suricata/suricata.log

How Exploit:

1. Attacker crafts malicious SWF.

2. Embeds oversized Zlib payload.

3. Sends packet to network.

4. Suricata decompresses payload.

5. Stack buffer overflows.

6. Process crashes (DoS).

Protection from this CVE:

  • Update to 7.0.13/8.0.2.
  • Disable swf-decompression.
  • Reduce `decompress-depth` value.

Impact:

  • Denial of Service.
  • Suricata process crash.
  • Loss of monitoring.

🎯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