CVE-2026-22262
Suricata datasets: stack overflow when saving a set
Check your servers for CVE-2026-22262
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-22262 affects suricata, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.96%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 60.3% of all scored CVEs. Scores of 29 Nov 2026.
The assessment of CISA (SSVC, 27 Jan 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-121 Stack-based Buffer Overflow
Affected products
As the CNA lists them.
Is my server affected?
Find the installed version of suricata and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i suricata
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-22262 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-22262RHEL, Rocky, Alma, Fedora
rpm -q suricata
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-22262Alpine
apk list --installed | grep -i suricataWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-22262
trivy image --scanners vuln IMAGE | grep CVE-2026-22262
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
Other references
- https://github.com/OISF/suricata/commit/0eff24213763c2aa2bb0957901d5dc1e18414dbf github.com
- https://github.com/OISF/suricata/commit/27a2180bceaa3477419c78c54fce364398d011f1 github.com
- https://github.com/OISF/suricata/commit/32609e6896f9079c175665a94005417cec7637eb github.com
- https://github.com/OISF/suricata/commit/32a1b9ae6aa80a60c073897e38a2ac6ea0f64521 github.com
- https://github.com/OISF/suricata/commit/d6bc718e303ecbec5999066b8bc88eeeca743658 github.com
- https://github.com/OISF/suricata/commit/d767dfadcd166f82683757818b9e46943326ac90 github.com
- https://redmine.openinfosecfoundation.org/issues/8110 redmine.openinfosecfoundation.org
Source: the record CVE-2026-22262 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse