Suricata swf: heap buffer overflow in SWF decompression depth handling
CVE-2026-57226Published 18 Sep 2026, 20:07 UTC
Real-world risk
1.1/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
3.7
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network Security Monitoring engine. Prior to 7.0.17 and 8.0.6, HTTP SWF decompression with the non-default swf-decompression feature and an unsafe decompress-depth can use the configured depth when allocating in src/util-file-decompression.c instead of limiting the allocation to the Flash file's actual data requirement. A crafted SWF response can therefore trigger an integer-related heap buffer overflow and crash Suricata; the default disabled feature and default depth are not affected. This issue is fixed in versions 8.0.6 and 7.0.17.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| suricataCommon | >= 8.0.0, < 8.0.6; < 7.0.17 | 8.0.6, 7.0.17 |
What to do
Update to a fixed version: 8.0.6, 7.0.17.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.6% chance of exploitation in 30 days (percentile 50), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.450
- Threat T1: Nothing known0.850
- 10 × impact 0.3 × prerequisites 0.45 × threat 0.851.147
- Rounded to one decimal between 0.1 and 101.1
Exploitation and evidence timeline
- 18 Sep 2026 Published
- 3 Dec 2026 Risk 1.1 (cvss fallback)
Weakness
CWE-122, CWE-190
References
- https://github.com/OISF/suricata/security/advisories/GHSA-p33j-r48q-3jcfvendor-advisory
- https://github.com/OISF/suricata/pull/15704misc
- https://github.com/OISF/suricata/commit/82af0aeb7cec39e206a9ca96c4966425eddeaa74misc
- https://github.com/OISF/suricata/commit/b63224871b0f8b0b1f7b8c22d05ba8a5c5f69fbbmisc
- https://github.com/OISF/suricata/commit/d9fae18432501674338e28bd33e35788c95d4a98misc
- https://github.com/OISF/suricata/releases/tag/suricata-7.0.17misc
- https://github.com/OISF/suricata/releases/tag/suricata-8.0.6misc
- https://redmine.openinfosecfoundation.org/issues/8642misc
- CVE-2026-57226 on CVE.org