CVE-2026-45763

Suricata lua: sandbox allocation limit not enforced for new allocations

Published Sep 10, 2026 CVSS 3.1 · 5.9 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:oisf:suricata:*:*:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Oisf
Oisf suricata
Vendors & Products Oisf
Oisf suricata
Type Values Removed Values Added
Metrics ssvc

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

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
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'}

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 10, 2026, 5:47 PM
Reserved
May 13, 2026, 7:45 AM
Status
Analyzed
Published
Sep 10, 2026, 2:17 PM
Modified
Sep 28, 2026, 6:43 PM