Vulnerability · Published Nov 26, 2025 · Assigned by GitHub_M

CVE-2025-64344Suricata is vulnerable to a stack overflow from unbounded stack allocation in LuaPushStringBuffer

High 7.5

In plain English

A high-severity stack buffer overflow in suricata from OISF. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 32% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.4%top 68.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.24suricata8.0.2-r0ALPINE-CVE-2025-64344
Debian:13suricata1:7.0.10-1+deb13u2DEBIAN-CVE-2025-64344
Debian:14suricata1:8.0.2-1DEBIAN-CVE-2025-64344
Ubuntu:22.04:LTSsuricatano fix listedUBUNTU-CVE-2025-64344
Ubuntu:24.04:LTSsuricatano fix listedUBUNTU-CVE-2025-64344
Ubuntu:25.10suricatano fix listedUBUNTU-CVE-2025-64344

Affected products (as reported)

VendorProductVersions
OISF suricata < 7.0.13< 8.0.2

Weakness: CWE-121 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References