CVE-2025-59149 Suricata: Stack buffer overflow in rule parser when processing long keywords with transforms

Medium 6.2 Published Updated

A stack buffer overflow in Suricata's rule parser allows attackers to cause denial of service or execute code via crafted rules with long keywords and transforms.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-59149?

CVE-2025-59149 is a medium-severity memory corruption vulnerability in Oisf Suricata, published on 1 Oct 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Suricata is a network IDS, IPS and NSM engine developed by the OISF (Open Information Security Foundation) and the Suricata community. In version 8.0.0, rules using keyword ldap.responses.attribute_type (which is long) with transforms can lead to a stack buffer overflow during Suricata startup or during a rule reload. This issue is fixed in version 8.0.1. To workaround this issue, users can disable rules with ldap.responses.attribute_type and transforms.

Weakness: CWE-121

Which versions are affected by CVE-2025-59149?

It affects 1 product.

Products include Oisf Suricata.

How do I fix CVE-2025-59149?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-59149 being exploited?

There is no known exploitation of CVE-2025-59149 in the wild and no public exploit code.

All Oisf Suricata vulnerabilities

Sources

Also known as GHSA-vxcg-38x4-gj7j, UBUNTU-CVE-2025-59149.

Is CVE-2025-59149 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free