Paper/Archive/CVE-2026-22262

CVE-2026-22262

OISF suricata — Suricata datasets: stack overflow when saving a set

Description · from the CVE record

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

ProductAffectedFixed inSource
suricata< 7.0.14–CNA
suricata>= 8.0.0, < 8.0.3–CNA

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub_M (CNA)5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA ADPSSVCExploitation: none · Automatable: no · Technical impact: partial

References

refgithub.com/OISF/suricata/security/advisories/GHSA-9qg5-2gwh-xp86refgithub.com/OISF/suricata/commit/0eff24213763c2aa2bb0957901d5dc1e18414dbfrefgithub.com/OISF/suricata/commit/27a2180bceaa3477419c78c54fce364398d011f1refgithub.com/OISF/suricata/commit/32609e6896f9079c175665a94005417cec7637ebrefgithub.com/OISF/suricata/commit/32a1b9ae6aa80a60c073897e38a2ac6ea0f64521refgithub.com/OISF/suricata/commit/d6bc718e303ecbec5999066b8bc88eeeca743658refgithub.com/OISF/suricata/commit/d767dfadcd166f82683757818b9e46943326ac90refredmine.openinfosecfoundation.org/issues/8110