Vulnerability · Published Sep 18, 2026 · Assigned by GitHub_M
CVE-2026-57222Suricata ippair: hash collision can cause incorrect state reuse across IPv4 and IPv6
Medium 5.3
In plain English
A medium-severity security flaw in suricata from OISF. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 39% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | suricata | no fix listed | DEBIAN-CVE-2026-57222 |
| Debian:14 | suricata | 1:8.0.6-1 | DEBIAN-CVE-2026-57222 |
| Ubuntu:22.04:LTS | suricata | no fix listed | UBUNTU-CVE-2026-57222 |
| Ubuntu:24.04:LTS | suricata | no fix listed | UBUNTU-CVE-2026-57222 |
| Ubuntu:26.04:LTS | suricata | no fix listed | UBUNTU-CVE-2026-57222 |
Affected products (as reported)
Weakness: CWE-697 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
References
- https://github.com/OISF/suricata/security/advisories/GHSA-2r8x-23fw-hgcg x_refsource_CONFIRM
- https://github.com/OISF/suricata/commit/4a728464e6eb9e273bb02e3df0c28929b28db71d x_refsource_MISC
- https://github.com/OISF/suricata/commit/9d788575c5d22a34eeed50d56557ed12b05e0aec x_refsource_MISC
- https://github.com/OISF/suricata/commit/c92e270c4a795c52bce610aa1ce9ebaf065c49e6 x_refsource_MISC
- https://github.com/OISF/suricata/releases/tag/suricata-7.0.17 x_refsource_MISC
- https://github.com/OISF/suricata/releases/tag/suricata-8.0.6 x_refsource_MISC
- https://redmine.openinfosecfoundation.org/issues/8559 x_refsource_MISC