CVE-2025-29918 Suricata pcre: negated pcr can cause infinite loop
A crafted PCRE rule causes an infinite loop in Suricata, leading to denial of service by stalling packet processing threads.
- 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-29918?
CVE-2025-29918 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. A PCRE rule can be written that leads to an infinite loop when negated PCRE is used. Packet processing thread becomes stuck in infinite loop limiting visibility and availability in inline mode. This vulnerability is fixed in 7.0.9.
Weakness: CWE-835
Which versions are affected by CVE-2025-29918?
It affects 1 product.
Products include Oisf Suricata.
How do I fix CVE-2025-29918?
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-29918 being exploited?
There is no known exploitation of CVE-2025-29918 in the wild and no public exploit code.
Other vulnerabilities in Oisf Suricata
Sources
Also known as DEBIAN-CVE-2025-29918, GHSA-924c-vvm5-9mqx, UBUNTU-CVE-2025-29918.