CVE-2025-64344
JSON

7.5high

Suricata is vulnerable to a stack overflow from unbounded stack allocation in LuaPushStringBuffer

Severity
7.5high CVSS:3.1 by GitHub_M
Exploit likelihood
0.38% (higher than 33% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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

Product or packageVersionsReported by
OISF suricata< 7.0.13, < 8.0.2, before 7.0.13, from 8.0.0 before 8.0.2CVE List, NVD

Classification

CWE-121CWE-787

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Suricata es un motor de IDS, IPS y NSM de red desarrollado por la OISF (Open Information Security Foundation) y la comunidad de Suricata. Versiones anteriores a la 7.0.13 y 8.0.2, trabajar con búferes grandes en scripts Lua puede provocar un desbordamiento de pila. Los usuarios de reglas Lua y scripts de salida pueden verse afectados al trabajar con búferes grandes. Esto incluye una regla que pasa un búfer grande a un script Lua. Este problema ha sido parcheado en las versiones 7.0.13 y 8.0.2. Una solución alternativa para este problema implica deshabilitar las reglas Lua y los scripts de salida, o asegurarse de que los límites, como stream.depth.reassembly y los límites del cuerpo de respuesta HTTP (response-body-limit), se establezcan a menos de la mitad del tamaño de la pila.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-64344 changed 2025-11-28CVE Terms of Use
NVDCVE-2025-64344 changed 2026-10-18Public domain