CVE-2026-57222Oisf Suricata incorrect comparison
CVSS score
5.3
Medium
CVSS 3.1 from github.com
Exploit probability (EPSS)
0.44%
0.44% chance of exploitation in the next 30 days, higher than 39.1% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
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.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running OISF Suricata and compare its version with the affected versions.
Update to a fixed version
- Update Suricata to 7.0.17, 8.0.6 or later, on the branch you run.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Affected products
| Affected products | Versions |
|---|---|
| OISF Suricata | < 7.0.17 · ≥ 8.0.0, < 8.0.6 · >= 8.0.0, < 8.0.6 |
Weakness
- CWE-697 incorrect comparison
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-57222 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.4% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-57222?
CVE-2026-57222 has a CVSS 3.1 base score of 5.3 (medium).
Which versions are affected?
Oisf Suricata (< 7.0.17; ≥ 8.0.0, < 8.0.6; >= 8.0.0, < 8.0.6)
Is there a patch for CVE-2026-57222?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/OISF/suricata/commit/4a728464e6eb9e273bb02e3df0c28929b28db71d(Patch)
- github.com/OISF/suricata/commit/9d788575c5d22a34eeed50d56557ed12b05e0aec(Patch)
- github.com/OISF/suricata/commit/c92e270c4a795c52bce610aa1ce9ebaf065c49e6(Patch)
- github.com/OISF/suricata/security/advisories/GHSA-2r8x-23fw-hgcg(Vendor Advisory)
- github.com/OISF/suricata/releases/tag/suricata-7.0.17(Release Notes)
- github.com/OISF/suricata/releases/tag/suricata-8.0.6(Release Notes)
- redmine.openinfosecfoundation.org/issues/8559(Permissions Required)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.