{"id":"CVE-2026-22262","state":"PUBLISHED","title":"Suricata datasets: stack overflow when saving a set","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.","publishedAt":"2026-01-27T18:18:52.922Z","updatedAt":"2026-01-27T19:30:42.782Z","severity":{"score":5.9,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["OISF suricata"],"affected":[{"vendor":"OISF","product":"suricata","versions":[{"version":"< 7.0.14","status":"affected"},{"version":">= 8.0.0, < 8.0.3","status":"affected"}]}],"references":["https://github.com/OISF/suricata/security/advisories/GHSA-9qg5-2gwh-xp86","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://redmine.openinfosecfoundation.org/issues/8110"],"weaknesses":["CWE-121"],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/22xxx/CVE-2026-22262.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-22262","state":"PUBLISHED","datePublished":"2026-01-27T18:18:52.922Z","dateUpdated":"2026-01-27T19:30:42.782Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-01-07T05:19:12.923Z"},"containers":{"cna":{"title":"Suricata datasets: stack overflow when saving a set","descriptions":[{"lang":"en","value":"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":[{"vendor":"OISF","product":"suricata","versions":[{"version":"< 7.0.14","status":"affected"},{"version":">= 8.0.0, < 8.0.3","status":"affected"}]}],"references":[{"url":"https://github.com/OISF/suricata/security/advisories/GHSA-9qg5-2gwh-xp86","name":"https://github.com/OISF/suricata/security/advisories/GHSA-9qg5-2gwh-xp86","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/OISF/suricata/commit/0eff24213763c2aa2bb0957901d5dc1e18414dbf","name":"https://github.com/OISF/suricata/commit/0eff24213763c2aa2bb0957901d5dc1e18414dbf","tags":["x_refsource_MISC"]},{"url":"https://github.com/OISF/suricata/commit/27a2180bceaa3477419c78c54fce364398d011f1","name":"https://github.com/OISF/suricata/commit/27a2180bceaa3477419c78c54fce364398d011f1","tags":["x_refsource_MISC"]},{"url":"https://github.com/OISF/suricata/commit/32609e6896f9079c175665a94005417cec7637eb","name":"https://github.com/OISF/suricata/commit/32609e6896f9079c175665a94005417cec7637eb","tags":["x_refsource_MISC"]},{"url":"https://github.com/OISF/suricata/commit/32a1b9ae6aa80a60c073897e38a2ac6ea0f64521","name":"https://github.com/OISF/suricata/commit/32a1b9ae6aa80a60c073897e38a2ac6ea0f64521","tags":["x_refsource_MISC"]},{"url":"https://github.com/OISF/suricata/commit/d6bc718e303ecbec5999066b8bc88eeeca743658","name":"https://github.com/OISF/suricata/commit/d6bc718e303ecbec5999066b8bc88eeeca743658","tags":["x_refsource_MISC"]},{"url":"https://github.com/OISF/suricata/commit/d767dfadcd166f82683757818b9e46943326ac90","name":"https://github.com/OISF/suricata/commit/d767dfadcd166f82683757818b9e46943326ac90","tags":["x_refsource_MISC"]},{"url":"https://redmine.openinfosecfoundation.org/issues/8110","name":"https://redmine.openinfosecfoundation.org/issues/8110","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-121","lang":"en","description":"CWE-121: Stack-based Buffer Overflow","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-01-27T18:18:52.922Z"},"source":{"advisory":"GHSA-9qg5-2gwh-xp86","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-01-27T19:29:40.963947Z","id":"CVE-2026-22262","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-01-27T19:30:42.782Z"}}]}}}