CVE-2025-64344CWE-121CWE-787

CVE-2025-64344

High · published November 27, 2025

CVSS v3.1
7.5
EPSS
0%
Percentile
27.8
In the wild
Unconfirmed
What it is

⚡ Watch out for large buffers in Lua scripts! If you're using Suricata versions prior to 7.0.13 or 8.0.2, stack overflows might just sneak up on you. 🔥 Think of it like a restaurant that overfills a pot with soup. When it gets too full, it spills over the edges, causing a messy kitchen disaster! In this case, large buffers lead to a stack overflow, spilling out of bounds and causing chaos in your system. An attacker could exploit this vulnerability by crafting a rule that passes a hefty buffer to a Lua script, potentially causing a stack overflow. This could lead to unexpected behavior, crashing the Suricata engine, and leaving your network defenses vulnerable at a crucial moment.

Put simply

Think of it like a restaurant that overfills a pot with soup. When it gets too full, it spills over the edges, causing a messy kitchen disaster! In this case, large buffers lead to a stack overflow, spilling out of bounds and causing chaos in your system. This stack overflow vulnerability allows for potential crashes when working with large buffers in Lua scripts in Suricata, affecting users who implement Lua rules and output scripts.

What to do

An attacker could exploit this vulnerability by crafting a rule that passes a hefty buffer to a Lua script, potentially causing a stack overflow. This could lead to unexpected behavior, crashing the Suricata engine, and leaving your network defenses vulnerable at a crucial moment. To protect your systems, upgrade to Suricata versions 7.0.13 or 8.0.2 immediately. If you can't upgrade right now, consider disabling Lua rules and output scripts, or set limits such as stream.depth.reassembly and HTTP response body limits to below half the stack size. Don't let your defenses overflow! You've got this! By following these steps, you'll keep your network defenses strong and safe. 🛡️

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00353 · 27.8th percentile
Weaknesses
CWE-121 · Stack-based Buffer Overflow; CWE-787 · Out-of-bounds Write
Published
2025-11-27T04:15Z
Affected products (2)
ProductVersionsFixed in
oisf/suricata< 7.0.137.0.13
oisf/suricata≥ 8.0.0, < 8.0.28.0.2
References (2)
EPSS history
Timeline
  • 26 NOV 23:05Z
    Suricata is vulnerable to a stack overflow from unbounded stack allocation in LuaPushStringBuffer
    cvelistv5