CVE-2026-22262
suricata: Suricata: Denial of service due to stack overflow when saving large datasets
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (medium).
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 packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| debian 11 | suricata | no fix listed |
| debian 13 | suricata | 1:7.0.10-1+deb13u3 |
| debian 14 | suricata | 1:8.0.3-1 |
| echo | suricata | 1:7.0.10-1+deb13u3 |
| rapidfort alpine 3.20 | suricata | 8.0.0-r0 |
| rapidfort alpine 3.21 | suricata | 8.0.0-r0 |
| rapidfort alpine 3.22 | suricata | 8.0.0-r0 |
| rapidfort alpine 3.23 | suricata | 8.0.2-r0 |
| rapidfort debian 12 | suricata | 0:7.0.10-1+deb13u3, 1:8.0.3-1 |
| rapidfort debian 13 | suricata | 0:7.0.10-1+deb13u3, 1:8.0.3-1 |
| rapidfort fedora 43 | suricata | 7.0.15-1.fc43 |
| rapidfort Oracle Linux 10 | suricata | 8.0.3-1.el10_2 |
Show all 16 entries from 16 sources
| Source | Package | Fixed in |
|---|---|---|
| debian 11 | suricata | no fix listed |
| debian 13 | suricata | 1:7.0.10-1+deb13u3 |
| debian 14 | suricata | 1:8.0.3-1 |
| echo | suricata | 1:7.0.10-1+deb13u3 |
| rapidfort alpine 3.20 | suricata | 8.0.0-r0 |
| rapidfort alpine 3.21 | suricata | 8.0.0-r0 |
| rapidfort alpine 3.22 | suricata | 8.0.0-r0 |
| rapidfort alpine 3.23 | suricata | 8.0.2-r0 |
| rapidfort debian 12 | suricata | 0:7.0.10-1+deb13u3, 1:8.0.3-1 |
| rapidfort debian 13 | suricata | 0:7.0.10-1+deb13u3, 1:8.0.3-1 |
| rapidfort fedora 43 | suricata | 7.0.15-1.fc43 |
| rapidfort Oracle Linux 10 | suricata | 8.0.3-1.el10_2 |
| rapidfort Oracle Linux 9 | suricata | 7.0.15-1.el9 |
| rapidfort ubuntu 20.04 | suricata | 1:8.0.3-1 |
| rapidfort ubuntu 22.04 | suricata | 1:8.0.3-1 |
| rapidfort ubuntu 24.04 | suricata | 1:8.0.3-1 |
References
- https://access.redhat.com/security/cve/CVE-2026-22262
- 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