Description
Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network Security Monitoring engine. Starting in version 8.0.0 and prior to version 8.0.5, when Lua rule execution is enabled, the Lua sandbox memory limit was not consistently enforced for new allocations. Certain Lua allocation patterns could exceed `security.lua.max-bytes` without triggering the intended memory limit, making the configured sandbox limit unreliable. This requires Lua rules to be enabled and an affected Lua script/rule to be loaded. Version 8.0.5 contains a fix. As a workaround, disable `security.lua.allow-rules` unless Lua rules are required.
Published: 2026-09-10
Score: 5.9 Medium
EPSS: n/a
KEV: No
Impact: Memory limit bypass in Suricata Lua sandbox
Action: Apply patch
AI Analysis

Impact

Suricata's Lua sandbox is intended to limit the memory consumption of Lua scripts using the configuration parameter security.lua.max-bytes. The vulnerability manifests when the sandbox fails to enforce this limit on newly allocated memory blocks. As a result, Lua scripts can allocate more memory than allowed, potentially exhausting system resources or causing unintended behavior. This represents an uncontrolled resource consumption flaw (CWE‑770).

Affected Systems

Vulnerable versions are Suricata 8.0.0 through 8.0.4, inclusive. The issue exists when Lua rule execution is enabled and any Lua script or rule is loaded. Version 8.0.5 and later contain the necessary fix.

Risk and Exploitability

The CVSS base score is 5.9, indicating moderate severity. EPSS data is not available, and the vulnerability is not listed in CISA's KEV catalog, suggesting a lower likelihood of widespread exploitation at the moment. However, an attacker would need the ability to enable Lua rules in Suricata and load or inject a Lua script that can generate large allocations. Once these conditions are met, the attacker could cause memory exhaustion. The lack of enforcement undermines the sandbox's protective intent.

Generated by OpenCVE AI on September 10, 2026 at 15:42 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Suricata to version 8.0.5 or later, which includes the fix for the sandbox memory limit enforcement.
  • If an upgrade is not immediately possible, disable Lua rule execution by setting security.lua.allow-rules to false in the configuration file.
  • If Lua rules are required, review and test scripts for memory usage, consider lowering security.lua.max-bytes, and monitor system memory during operation.

Generated by OpenCVE AI on September 10, 2026 at 15:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 11 Sep 2026 10:30:00 +0000

Type Values Removed Values Added
First Time appeared Oisf
Oisf suricata
Vendors & Products Oisf
Oisf suricata

Thu, 10 Sep 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 10 Sep 2026 14:30:00 +0000

Type Values Removed Values Added
Description Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network Security Monitoring engine. Starting in version 8.0.0 and prior to version 8.0.5,when Lua rule execution is enabled, the Lua sandbox memory limit was not consistently enforced for new allocations. Certain Lua allocation patterns could exceed `security.lua.max-bytes` without triggering the intended memory limit, making the configured sandbox limit unreliable. This requires Lua rules to be enabled and an affected Lua script/rule to be loaded. Version 8.0.5 contains a fix. As a workaround, disable `security.lua.allow-rules` unless Lua rules are required. Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network Security Monitoring engine. Starting in version 8.0.0 and prior to version 8.0.5, when Lua rule execution is enabled, the Lua sandbox memory limit was not consistently enforced for new allocations. Certain Lua allocation patterns could exceed `security.lua.max-bytes` without triggering the intended memory limit, making the configured sandbox limit unreliable. This requires Lua rules to be enabled and an affected Lua script/rule to be loaded. Version 8.0.5 contains a fix. As a workaround, disable `security.lua.allow-rules` unless Lua rules are required.
References

Thu, 10 Sep 2026 13:30:00 +0000

Type Values Removed Values Added
Description Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network Security Monitoring engine. Starting in version 8.0.0 and prior to version 8.0.5,when Lua rule execution is enabled, the Lua sandbox memory limit was not consistently enforced for new allocations. Certain Lua allocation patterns could exceed `security.lua.max-bytes` without triggering the intended memory limit, making the configured sandbox limit unreliable. This requires Lua rules to be enabled and an affected Lua script/rule to be loaded. Version 8.0.5 contains a fix. As a workaround, disable `security.lua.allow-rules` unless Lua rules are required.
Title Suricata lua: sandbox allocation limit not enforced for new allocations
Weaknesses CWE-770
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-10T17:47:40.112Z

Reserved: 2026-05-13T07:45:21.250Z

Link: CVE-2026-45763

cve-icon Vulnrichment

Updated: 2026-09-10T17:28:47.623Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-10T14:17:01.533

Modified: 2026-09-10T19:54:25.810

Link: CVE-2026-45763

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-11T10:15:17Z

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling