CVE-2026-22262 Suricata datasets: stack overflow when saving a set

Medium 5.9 Published Updated

A stack overflow in Suricata's dataset saving mechanism allows attackers to cause denial of service or potentially execute code via large datasets.

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

What is CVE-2026-22262?

CVE-2026-22262 is a medium-severity memory corruption vulnerability in Oisf Suricata, published on 27 Jan 2026. 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. While saving a dataset a stack buffer is used to prepare the data. Prior to versions 8.0.3 and 7.0.14, if the data in the dataset is too large, this can result in a stack overflow. Versions 8.0.3 and 7.0.14 contain a patch. As a workaround, do not use rules with datasets `save` nor `state` options.

Weakness: CWE-787, CWE-121

Which versions are affected by CVE-2026-22262?

It affects 1 product.

Products include Oisf Suricata.

How do I fix CVE-2026-22262?

Apply the vendor's patch.

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

Is CVE-2026-22262 being exploited?

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

All Oisf Suricata vulnerabilities

Sources

Also known as DEBIAN-CVE-2026-22262, GHSA-9qg5-2gwh-xp86, UBUNTU-CVE-2026-22262.

Is CVE-2026-22262 in your software?

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

Check your SBOMs for free