CVE-2026-45747

Suricata lua/tls: null dereference in TlsGetCertInfo

Published Sep 10, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network Security Monitoring engine. Prior to version 7.0.16, the Lua TLS certificate information helper could dereference NULL certificate fields when a Lua script requested certificate information for TLS traffic where some certificate fields were absent. Crafted TLS traffic processed by a deployment using affected Lua TLS scripting could crash Suricata, resulting in denial of service. Version 7.0.16 contains a fix. As a workaround, avoid Lua scripts that call TLS certificate information helpers on untrusted traffic (`TlsGetCertInfo` function), or update scripts to handle missing certificate fields where possible.

Analysis

AI-generated

Technical impact

Suricata includes a Lua TLS certificate helper that can dereference a NULL pointer when a Lua script requests certificate information for TLS traffic that lacks some certificate fields. The vulnerable code will crash Suricata, causing a denial of service whenever crafted TLS traffic is processed by an affected deployment. The flaw is a null pointer dereference (CWE‑476).

Affected Systems

The issue affects the OISF Suricata engine versions prior to 7.0.16. Suricata installations that employ Lua TLS scripting, particularly those serving untrusted traffic, are impacted. Users should confirm that their Suricata version is 7.0.16 or newer to ensure the crash‑bypass patch is present.

Risk and Exploitability

The advisory indicates a CVSS score of 7.5, which represents medium‑to‑high severity. The attack vector is remote and requires the attacker to send specially crafted TLS traffic to the Suricata node, after which the system will crash and cease functioning. Because the vulnerability does not grant code execution or privilege escalation, but causes a denial of service, the overall risk is confined to availability loss. There is no listing in the CISA KEV catalog and EPSS information is not provided, so historical exploitation data is unavailable. Consequently, while the flaw is mitigable by updating Suricata, it remains a notable risk for environments that cannot upgrade immediately, especially those that expose Suricata to untrusted traffic.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Suricata to version 7.0.16 or later, which contains the definitive patch for the null dereference.
  • If an upgrade is not yet feasible, modify Lua scripts to avoid calling the TLS certificate information helper (TlsGetCertInfo) on untrusted TLS traffic, or adjust the scripts to safely handle missing certificate fields.
  • Implement process‑restart monitoring and alerting for Suricata to quickly identify and recover from crashes caused by malformed TLS packets.

Generated by OpenCVE AI on September 10, 2026 at 15:39 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': 'yes', 'Exploitation': 'poc', '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. Prior to version 7.0.16, the Lua TLS certificate information helper could dereference NULL certificate fields when a Lua script requested certificate information for TLS traffic where some certificate fields were absent. Crafted TLS traffic processed by a deployment using affected Lua TLS scripting could crash Suricata, resulting in denial of service. Version 7.0.16 contains a fix. As a workaround, avoid Lua scripts that call TLS certificate information helpers on untrusted traffic (`TlsGetCertInfo` function), or update scripts to handle missing certificate fields where possible.
Title Suricata lua/tls: null dereference in TlsGetCertInfo
Weaknesses CWE-476
References
Metrics cvssV3_1

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

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 10, 2026, 4:26 PM
Reserved
May 13, 2026, 6:54 AM
Status
Analyzed
Published
Sep 10, 2026, 3:17 PM
Modified
Sep 28, 2026, 6:44 PM