CVE-2025-29917 Suricata decode_base64: signature can do large memory allocation
Attackers can cause excessive memory allocation leading to denial of service by crafting signatures with specific base64 decoding settings in Suricata.
- 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-29917?
CVE-2025-29917 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. The bytes setting in the decode_base64 keyword is not properly limited. Due to this, signatures using the keyword and setting can cause large memory allocations of up to 4 GiB per thread. This vulnerability is fixed in 7.0.9.
Weakness: CWE-770
Which versions are affected by CVE-2025-29917?
It affects 1 product.
Products include Oisf Suricata.
How do I fix CVE-2025-29917?
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-29917 being exploited?
There is no known exploitation of CVE-2025-29917 in the wild and no public exploit code.
Other vulnerabilities in Oisf Suricata
Sources
Also known as DEBIAN-CVE-2025-29917, GHSA-x8c9-8553-j9px, UBUNTU-CVE-2025-29917.