CVE-2025-59148
Suricata vulnerability analysis and mitigation

Overview

CVE-2025-59148 is a NULL pointer dereference vulnerability in Suricata, the open-source network IDS, IPS, and NSM engine developed by OISF. The flaw affects Suricata version 8.0.0 (including release candidates 8.0.0-rc1 and 8.0.0-beta1) and arises from incorrect handling of the entropy keyword when it is not anchored to a "sticky" buffer, which can trigger a segmentation fault. The vulnerability was published on September 30, 2025, and fixed in version 8.0.1. It carries a CVSS v3.1 base score of 7.5 (High) (GitHub Advisory, Red Hat Bugzilla).

Technical details

The root cause is a NULL pointer dereference (CWE-476) in Suricata's entropy detection logic. When the entropy keyword is used in a detection rule without being anchored to a sticky buffer, the DetectEntropyDoMatch function attempts to call FlowVarAddFloat using det_ctx->p->flow, which can be NULL in that code path, causing a segmentation fault. The fix, committed in GitHub Commit, passes the flow pointer explicitly to DetectEntropyDoMatch and guards the FlowVarAddFloat call with a NULL check (if (flow && entropy != -1.0)). Additionally, the fix registers a flow variable for the non-sticky-buffer case, ensuring the entropy matcher has a valid flow context regardless of rule configuration (GitHub Advisory, GitHub Commit).

Impact

Successful exploitation causes Suricata to crash with a segmentation fault, resulting in a denial of service condition that disables network intrusion detection and prevention capabilities. Because Suricata functions as a critical security control, its crash could leave monitored network segments without IDS/IPS coverage, potentially allowing malicious traffic to pass undetected. There is no confidentiality or integrity impact; the vulnerability is limited to availability (GitHub Advisory).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time. The vulnerability can be triggered remotely without authentication or user interaction by sending network traffic that causes a rule with an improperly configured entropy keyword to be evaluated. The EPSS score is approximately 0.048%, indicating a low probability of exploitation in the near term. CVE-2025-59148 is not listed in the CISA Known Exploited Vulnerabilities catalog (GitHub Advisory, Red Hat Bugzilla).

Indicators of compromise

  • Process: Suricata process terminating unexpectedly with a segmentation fault (SIGSEGV); core dump files generated in the Suricata working directory.
  • Logs: Suricata log entries showing a crash or unexpected restart; system logs (e.g., /var/log/syslog or journalctl) recording a segfault for the suricata process.
  • Network: Absence of Suricata alert or event output (e.g., eve.json stops being written) following receipt of specific network traffic, indicating the engine has crashed.

Mitigation and workarounds

Upgrade Suricata to version 8.0.1, which contains the official fix (GitHub Advisory). If an immediate upgrade is not possible, two workarounds are available: (1) disable all detection rules that use the entropy keyword, or (2) audit existing rules to ensure every use of the entropy keyword is anchored to a sticky buffer. Organizations running Suricata 8.0.0 in IPS mode should prioritize patching, as a crash in that mode would also interrupt inline traffic blocking (Red Hat Bugzilla).

Community reactions

The Suricata project published a GitHub Security Advisory (GHSA-5qf6-92xg-3rr3) on September 30, 2025, and released the patched version 8.0.1 alongside 7.0.12 on September 16, 2025. Red Hat tracked the issue via Bugzilla and assigned it high severity. No significant independent researcher commentary or broad social media discussion has been identified beyond standard CVE aggregator coverage (GitHub Advisory, Suricata Release).

Additional resources


SourceThis report was generated using AI

Related Suricata vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-31937HIGH7.5
  • Suricata logoSuricata
  • cpe:2.3:a:oisf:suricata
NoYesApr 02, 2026
CVE-2026-31935HIGH7.5
  • Suricata logoSuricata
  • suricata
NoYesApr 02, 2026
CVE-2026-31934HIGH7.5
  • Suricata logoSuricata
  • suricata
NoYesApr 02, 2026
CVE-2026-31933HIGH7.5
  • Suricata logoSuricata
  • suricata
NoYesApr 02, 2026
CVE-2026-31932HIGH7.5
  • Suricata logoSuricata
  • suricata
NoYesApr 02, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management