What’s Vulnerable › Vulnerabilities
CVE-2025-64344: Suricata is vulnerable to a stack overflow from unbounded stack allocation in LuaPushStringBuffer
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-11-26 · updated 2026-10-18
- Weakness: CWE-121
Description
Suricata is a network IDS, IPS and NSM engine developed by the OISF (Open Information Security Foundation) and the Suricata community. Prior to versions 7.0.13 and 8.0.2, working with large buffers in Lua scripts can lead to a stack overflow. Users of Lua rules and output scripts may be affected when working with large buffers. This includes a rule passing a large buffer to a Lua script. This issue has been patched in versions 7.0.13 and 8.0.2. A workaround for this issue involves disabling Lua rules and output scripts, or making sure limits, such as stream.depth.reassembly and HTTP response body limits (response-body-limit), are set to less than half the stack size.
Affected products
- OISF suricata: before 7.0.13; from 8.0.0 before 8.0.2 — fixed in 7.0.13, 8.0.2
How to fix
Upgrade to a fixed version: OISF suricata 7.0.13, 8.0.2. Check the vendor advisory for mitigations.
References
- https://github.com/OISF/suricata/commit/e13fe6a90dba210a478148c4084f6f5db17c5b5a
- https://github.com/OISF/suricata/security/advisories/GHSA-93fh-cgmc-w3rx
Get alerted when CVE-2025-64344 or the next vulnerability affects your stack