Description
Suricata before 8.0.7 has a DoH2 type confusion that can cause an invalid free, because cleanup code for the HTTP2 state is executed even though the actual state is HTTP1 (when there is a DoH2 request with an HTTP1 to HTTP2 upgrade). This requires app-layer.protocols.doh2 to be enabled, which is the default in 8.x versions.
Severity (CVSS)
| Base score | 9.4 |
|---|---|
| Severity | Critical |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L |
| Provided by | CNA |
Weaknesses
- CWE-843 — CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| OISF | Suricata | 8.0.0 to <8.0.7 |
References
Generated from the official CVE List on 20 Sep 2026 07:01 UTC.