CVE-2025-64331 Suricata is vulnerable to a stack overflow on large file transfers with http-body-printable

High 7.5 Published Updated

Attackers can cause a stack overflow and denial of service in Suricata by sending large HTTP transfers when specific logging options are enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-64331?

CVE-2025-64331 is a high-severity memory corruption vulnerability in Oisf Suricata, published on 26 Nov 2025. An attacker can exploit it over the internet without logging in, 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. Prior to versions 7.0.13 and 8.0.2, a stack overflow can occur on large HTTP file transfers if the user has increased the HTTP response body limit and enabled the logging of printable http bodies. This issue has been patched in versions 7.0.13 and 8.0.2. A workaround for this issue involves using default HTTP response body limits and/or disabling http-body-printable logging; body logging is disabled by default.

Weakness: CWE-787, CWE-121

Which versions are affected by CVE-2025-64331?

It affects 1 product.

Products include Oisf Suricata.

How do I fix CVE-2025-64331?

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-64331 being exploited?

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

All Oisf Suricata vulnerabilities

Sources

Also known as DEBIAN-CVE-2025-64331, GHSA-v32w-j79x-pfj2, UBUNTU-CVE-2025-64331.

Is CVE-2025-64331 in your software?

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

Check your SBOMs for free