Suricata ippair: hash collision can cause incorrect state reuse across IPv4 and IPv6
Summary
| CVE | CVE-2026-57222 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-09-18 20:17:17 UTC |
| Updated | 2026-09-29 12:48:22 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 5.3 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS: 0.004420000 probability, percentile 0.356600000 (date 2026-09-24)
Problem Types: CWE-697 | CWE-697 CWE-697: Incorrect Comparison
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 5.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| 3.1 | CNA | DECLARED | 5.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD Known Affected Configurations (CPE 2.3)
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/OISF/suricata/releases/tag/suricata-8.0.6 | [email protected] | github.com | Release Notes |
| redmine.openinfosecfoundation.org/issues/8559 | [email protected] | redmine.openinfosecfoundation.org | Permissions Required |
| github.com/OISF/suricata/security/advisories/GHSA-2r8x-23fw-hgcg | [email protected] | github.com | Vendor Advisory |
| github.com/OISF/suricata/commit/9d788575c5d22a34eeed50d56557ed12b05e0aec | [email protected] | github.com | Patch |
| github.com/OISF/suricata/commit/c92e270c4a795c52bce610aa1ce9ebaf065c49e6 | [email protected] | github.com | Patch |
| github.com/OISF/suricata/releases/tag/suricata-7.0.17 | [email protected] | github.com | Release Notes |
| github.com/OISF/suricata/commit/4a728464e6eb9e273bb02e3df0c28929b28db71d | [email protected] | github.com | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.