CVE-2025-29916 Suricata datasets: ruleset declared settings can lead to resource starvation

Medium 6.2 Published Updated

Untrusted Suricata rules with large hashsize settings can cause excessive memory allocation, leading to resource starvation and denial of service.

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-29916?

CVE-2025-29916 is a medium-severity denial of service vulnerability in Oisf Suricata, published on 10 Apr 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 Intrusion Detection System, Intrusion Prevention System and Network Security Monitoring engine. Datasets declared in rules have an option to specify the `hashsize` to use. This size setting isn't properly limited, so the hash table allocation can be large. Untrusted rules can lead to large memory allocations, potentially leading to denial of service due to resource starvation. This vulnerability is fixed in 7.0.9.

Weakness: CWE-770

Which versions are affected by CVE-2025-29916?

It affects 1 product.

Products include Oisf Suricata.

How do I fix CVE-2025-29916?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2025-29916 being exploited?

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

All Oisf Suricata vulnerabilities

Sources

Also known as DEBIAN-CVE-2025-29916, GHSA-27g3-pmvp-j9cv, UBUNTU-CVE-2025-29916.

Is CVE-2025-29916 in your software?

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

Check your SBOMs for free