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

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 47% of CVEs (2026-12-01)
- Published: 2026-01-27T18:18:52.922Z
- Modified: 2026-06-17T10:19:39.447Z
- Weaknesses: CWE-121, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- OISF suricata: < 7.0.14; >= 8.0.0, < 8.0.3; before 7.0.14; from 8.0.0 before 8.0.3

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/OISF/suricata/security/advisories/GHSA-9qg5-2gwh-xp86> (vendor-advisory)
- <https://github.com/OISF/suricata/commit/0eff24213763c2aa2bb0957901d5dc1e18414dbf> (patch)
- <https://github.com/OISF/suricata/commit/27a2180bceaa3477419c78c54fce364398d011f1> (patch)
- <https://github.com/OISF/suricata/commit/32609e6896f9079c175665a94005417cec7637eb> (patch)
- <https://github.com/OISF/suricata/commit/32a1b9ae6aa80a60c073897e38a2ac6ea0f64521> (patch)
- <https://github.com/OISF/suricata/commit/d6bc718e303ecbec5999066b8bc88eeeca743658> (patch)
- <https://github.com/OISF/suricata/commit/d767dfadcd166f82683757818b9e46943326ac90> (patch)
- <https://redmine.openinfosecfoundation.org/issues/8110> (permissions-required)

## Sources

- CVE List: [CVE-2026-22262](https://www.cve.org/CVERecord?id=CVE-2026-22262), CVE Terms of Use, modified 2026-01-27
- NVD: [CVE-2026-22262](https://nvd.nist.gov/vuln/detail/CVE-2026-22262), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-22262 · Whole record: https://cve.day/CVE-2026-22262.json · Rebuilt by cve.day 2026-11-25T22:59:13.236Z
