What’s Vulnerable › Vulnerabilities
CVE-2026-57222: Suricata ippair: hash collision can cause incorrect state reuse across IPv4 and IPv6
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-18 · updated 2026-09-29
- Weakness: CWE-697
Description
Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network Security Monitoring engine. Prior to 7.0.17 and 8.0.6, crafted IPv4 and IPv6 address pairs can collide in the IPPair hash because src/ippair.c did not compare the IP address family before reusing IPPair-backed state. This can apply state from one IP family to another for xbits track ip_pair, FTP data expectations, and, on the 7.0 release line, thresholding, detection_filter, and rate_filter rules using track by_both, causing incorrect detection state. This issue is fixed in versions 8.0.6 and 7.0.17.
Affected products
- OISF suricata: before 7.0.17; from 8.0.0 before 8.0.6 — fixed in 7.0.17, 8.0.6
How to fix
Upgrade to a fixed version: OISF suricata 7.0.17, 8.0.6. Check the vendor advisory for mitigations.
References
- https://github.com/OISF/suricata/commit/4a728464e6eb9e273bb02e3df0c28929b28db71d
- https://github.com/OISF/suricata/commit/9d788575c5d22a34eeed50d56557ed12b05e0aec
- https://github.com/OISF/suricata/commit/c92e270c4a795c52bce610aa1ce9ebaf065c49e6
- https://github.com/OISF/suricata/releases/tag/suricata-7.0.17
- https://github.com/OISF/suricata/releases/tag/suricata-8.0.6
- https://github.com/OISF/suricata/security/advisories/GHSA-2r8x-23fw-hgcg
- https://redmine.openinfosecfoundation.org/issues/8559
Get alerted when CVE-2026-57222 or the next vulnerability affects your stack