# CVE-2026-57222: Suricata ippair: hash collision can cause incorrect state reuse across IPv4 and IPv6

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2026-09-18T20:05:15.072Z
- Modified: 2026-09-29T12:48:22.847Z
- Weaknesses: CWE-697
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- OISF suricata: >= 8.0.0, < 8.0.6; < 7.0.17; before 7.0.17; from 8.0.0 before 8.0.6

## References

- <https://github.com/OISF/suricata/security/advisories/GHSA-2r8x-23fw-hgcg> (vendor-advisory)
- <https://github.com/OISF/suricata/commit/4a728464e6eb9e273bb02e3df0c28929b28db71d> (patch)
- <https://github.com/OISF/suricata/commit/9d788575c5d22a34eeed50d56557ed12b05e0aec> (patch)
- <https://github.com/OISF/suricata/commit/c92e270c4a795c52bce610aa1ce9ebaf065c49e6> (patch)
- <https://github.com/OISF/suricata/releases/tag/suricata-7.0.17> (release-notes)
- <https://github.com/OISF/suricata/releases/tag/suricata-8.0.6> (release-notes)
- <https://redmine.openinfosecfoundation.org/issues/8559> (permissions-required)

## Sources

- CVE List: [CVE-2026-57222](https://www.cve.org/CVERecord?id=CVE-2026-57222), CVE Terms of Use, modified 2026-09-21
- NVD: [CVE-2026-57222](https://nvd.nist.gov/vuln/detail/CVE-2026-57222), Public domain, modified 2026-09-29

---

Page: https://cve.day/CVE-2026-57222 · Whole record: https://cve.day/CVE-2026-57222.json · Rebuilt by cve.day 2026-11-25T22:59:39.662Z
