Engine crash via ShortenString size underflow
Published Oct 1, 2025 · Updated Oct 1, 2025
Stack-based buffer overflow in Suricata 8.0.0 allows local users to crash the engine by loading a crafted LDAP inspection rule. ShortenString subtracts from a zero or minimal output size while abbreviating the long ldap.responses.attribute_type keyword, underflowing its unsigned half-length calculation before writing into a stack buffer. Exploitation requires control of a rule containing that keyword and a transform when the engine starts or reloads its rules; the documented consequence is loss of the Suricata process.
Summary
What happened
Stack-based buffer overflow in Suricata 8.0.0 allows local users to crash the engine by loading a crafted LDAP inspection rule. ShortenString subtracts from a zero or minimal output size while abbreviating the long ldap.responses.attribute_type keyword, underflowing its unsigned half-length calculation before writing into a stack buffer. Exploitation requires control of a rule containing that keyword and a transform when the engine starts or reloads its rules; the documented consequence is loss of the Suricata process.
The record
- CVE
- CVE-2025-59149
- Published
- Oct 1, 2025
- Updated
- Oct 1, 2025
- Vendor
- Open Information Security Foundation
- Product
- Suricata
- Classifications
- CWE-121, T1489
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Oct 1, 2025CVE publishedPublication date reported by the CVE source.
- Oct 1, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 8.0.0, < 8.0.1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo