CVE-2025-59149
Suricata vulnerability analysis and mitigation

Overview

Suricata version 8.0.0 contains a vulnerability where rules using the keyword ldap.responses.attribute_type with transforms can lead to a stack buffer overflow during Suricata startup or during a rule reload. The vulnerability was discovered in September 2025 and assigned CVE-2025-59149. The issue affects Suricata version 8.0.0 and has been fixed in version 8.0.1 (Suricata Release).

Technical details

The vulnerability is caused by the ShortenString function not properly handling a buffer of size 0, which can result in a stack-based buffer overflow condition. The issue specifically occurs when processing rules that use the ldap.responses.attribute_type keyword (which is notably long) in combination with transforms. The vulnerability has been assigned a CVSS v3.1 base score of 6.2 (Medium) with vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, indicating local attack vector, low attack complexity, no privileges required, and high impact on availability (GitHub Advisory).

Impact

The vulnerability primarily affects system availability, with no direct impact on confidentiality or integrity. When exploited, it can cause a stack buffer overflow during Suricata startup or rule reload operations, potentially leading to system instability or crashes (GitHub Advisory).

Mitigation and workarounds

The primary mitigation is to update to Suricata version 8.0.1 which contains the fix for this vulnerability. As a temporary workaround, users can disable rules that use ldap.responses.attribute_type keyword with transforms. The fix has been implemented through hardening the string shortener function, as evidenced by the patch commit (GitHub Commit).

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-2025-59150HIGH7.5
  • SuricataSuricata
  • suricata
NoYesOct 01, 2025
CVE-2025-59148HIGH7.5
  • SuricataSuricata
  • cpe:2.3:a:oisf:suricata
NoYesOct 01, 2025
CVE-2025-59147HIGH7.5
  • SuricataSuricata
  • suricata
NoYesOct 01, 2025
CVE-2025-53537HIGH7.5
  • SuricataSuricata
  • libhtp
NoYesJul 23, 2025
CVE-2025-59149MEDIUM6.2
  • SuricataSuricata
  • suricata
NoYesOct 01, 2025

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