What’s Vulnerable › Vulnerabilities
CVE-2026-22262: Suricata datasets: stack overflow when saving a set
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-01-27 · updated 2026-06-17
- Weakness: CWE-121
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.
Affected products
- OISF suricata: before 7.0.14; from 8.0.0 before 8.0.3 — fixed in 7.0.14, 8.0.3
How to fix
Upgrade to a fixed version: OISF suricata 7.0.14, 8.0.3. Check the vendor advisory for mitigations.
References
- https://github.com/OISF/suricata/commit/0eff24213763c2aa2bb0957901d5dc1e18414dbf
- https://github.com/OISF/suricata/commit/27a2180bceaa3477419c78c54fce364398d011f1
- https://github.com/OISF/suricata/commit/32609e6896f9079c175665a94005417cec7637eb
- https://github.com/OISF/suricata/commit/32a1b9ae6aa80a60c073897e38a2ac6ea0f64521
- https://github.com/OISF/suricata/commit/d6bc718e303ecbec5999066b8bc88eeeca743658
- https://github.com/OISF/suricata/commit/d767dfadcd166f82683757818b9e46943326ac90
- https://github.com/OISF/suricata/security/advisories/GHSA-9qg5-2gwh-xp86
- https://redmine.openinfosecfoundation.org/issues/8110
Get alerted when CVE-2026-22262 or the next vulnerability affects your stack