CVE-2025-64344 Suricata is vulnerable to a stack overflow from unbounded stack allocation in LuaPushStringBuffer
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
6 packages: 4 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/suricata(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/suricata(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| alpine/suricata(Alpine v3.24) | >= 8.0.0, < 8.0.2-r0 | 8.0.2-r0 | Fixed |
| debian/suricata(Debian 13) | < 1:7.0.10-1+deb13u2; = 1:7.0.10-1; = 1:7.0.10-1+deb13u1 | 1:7.0.10-1+deb13u2 | Fixed |
| debian/suricata(Debian 14) | < 1:8.0.2-1; = 1:7.0.10-1; = 1:7.0.11-1; = 1:7.0.11-1~bpo13+1 +9 more | 1:8.0.2-1 | Fixed |
| OISF suricata | < 7.0.13; = < 7.0.13; = < 8.0.2; >= 8.0.0, < 8.0.2 | 7.0.13, 8.0.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/suricata(Debian:13) | < 1:7.0.10-1+deb13u2 | 1:7.0.10-1+deb13u2 |
| debian/suricata(Debian:13) | = 1:7.0.10-1 | No fix listed |
| debian/suricata(Debian:13) | = 1:7.0.10-1+deb13u1 | No fix listed |
| debian/suricata(Debian:14) | < 1:8.0.2-1 | 1:8.0.2-1 |
| debian/suricata(Debian:14) | = 1:7.0.10-1 | No fix listed |
| debian/suricata(Debian:14) | = 1:7.0.11-1 | No fix listed |
| debian/suricata(Debian:14) | = 1:7.0.11-1~bpo13+1 | No fix listed |
| debian/suricata(Debian:14) | = 1:8.0.0-1~exp1 | No fix listed |
| debian/suricata(Debian:14) | = 1:8.0.0-1~exp2 | No fix listed |
| debian/suricata(Debian:14) | = 1:8.0.0-1~exp4 | No fix listed |
| debian/suricata(Debian:14) | = 1:8.0.0-1~exp5 | No fix listed |
| debian/suricata(Debian:14) | = 1:8.0.1-1 | No fix listed |
| debian/suricata(Debian:14) | = 1:8.0.1-2 | No fix listed |
| debian/suricata(Debian:14) | = 1:8.0.1-3 | No fix listed |
| debian/suricata(Debian:14) | = 1:8.0.1-3~bpo13+1 | No fix listed |
| debian/suricata(Debian:14) | = 1:8.0.2-1~bpo13+1 | No fix listed |
| OISF suricata | = < 7.0.13 | No fix listed |
| OISF suricata | = < 8.0.2 | No fix listed |
| ubuntu/suricata(Ubuntu:22.04) | All versions | No fix listed |
| alpine/suricata(Alpine:v3.24) | >= 8.0.0, < 8.0.2-r0 | 8.0.2-r0 |
| ubuntu/suricata(Ubuntu:24.04) | All versions | No fix listed |
| OISF suricata | < 7.0.13 | 7.0.13 |
| OISF suricata | >= 8.0.0, < 8.0.2 | 8.0.2 |
References
- Debian Security Tracker CVE-2025-64344 vendor-advisory
- https://github.com/OISF/suricata/security/advisories/GHSA-93fh-cgmc-w3rx issue-tracking third-party-advisory
- https://github.com/OISF/suricata/commit/e13fe6a90dba210a478148c4084f6f5db17c5b5a patch
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2417421 issue-tracking
- nvd.nist.gov