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

Medium 5.3 Published Updated

Crafted IP pairs cause hash collisions in Suricata, leading to incorrect state reuse and detection failures across IPv4 and IPv6.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-57222?

CVE-2026-57222 is a medium-severity vulnerability in Oisf Suricata, published on 18 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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.

Weakness: CWE-697

Which versions are affected by CVE-2026-57222?

It affects 1 product.

Products include Oisf Suricata.

How do I fix CVE-2026-57222?

Upgrade to a fixed version.

Is CVE-2026-57222 being exploited?

There is no known exploitation of CVE-2026-57222 in the wild and no public exploit code.

All Oisf Suricata vulnerabilities

Sources

Also known as DEBIAN-CVE-2026-57222, GHSA-2r8x-23fw-hgcg, UBUNTU-CVE-2026-57222.

Is CVE-2026-57222 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free