Suricata ippair: hash collision can cause incorrect state reuse across IPv4 and IPv6
CVE-2026-57222Published 18 Sep 2026, 20:05 UTC
Real-world risk
2.6/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
5.3
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| suricataCommon | >= 8.0.0, < 8.0.6; < 7.0.17 | 8.0.6, 7.0.17 |
What to do
Update to a fixed version: 8.0.6, 7.0.17.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.3% chance of exploitation in 30 days (percentile 29), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together1.000
- Threat T1: Nothing known0.850
- 10 × impact 0.3 × prerequisites 1 × threat 0.852.550
- Rounded to one decimal between 0.1 and 102.6
Exploitation and evidence timeline
- 18 Sep 2026 Published
- 3 Dec 2026 Risk 2.6 (cvss fallback)
Weakness
CWE-697
References
- https://github.com/OISF/suricata/security/advisories/GHSA-2r8x-23fw-hgcgvendor-advisory
- https://github.com/OISF/suricata/commit/4a728464e6eb9e273bb02e3df0c28929b28db71dmisc
- https://github.com/OISF/suricata/commit/9d788575c5d22a34eeed50d56557ed12b05e0aecmisc
- https://github.com/OISF/suricata/commit/c92e270c4a795c52bce610aa1ce9ebaf065c49e6misc
- https://github.com/OISF/suricata/releases/tag/suricata-7.0.17misc
- https://github.com/OISF/suricata/releases/tag/suricata-8.0.6misc
- https://redmine.openinfosecfoundation.org/issues/8559misc
- CVE-2026-57222 on CVE.org