Suricata swf: heap buffer overflow in SWF decompression depth handling
Summary
| CVE | CVE-2026-57226 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-09-18 20:17:17 UTC |
| Updated | 2026-09-28 18:36:20 UTC |
| 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, 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. |
Risk And Classification
Primary CVSS: v3.1 5.9 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS: 0.005520000 probability, percentile 0.437190000 (date 2026-09-24)
Problem Types: CWE-122 | CWE-190 | CWE-122 CWE-122: Heap-based Buffer Overflow | CWE-190 CWE-190: Integer Overflow or Wraparound
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 5.9 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | [email protected] | Secondary | 3.7 | LOW | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
| 3.1 | CNA | DECLARED | 3.7 | LOW | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| redmine.openinfosecfoundation.org/issues/8642 | [email protected] | redmine.openinfosecfoundation.org | Exploit, Issue Tracking, Third Party Advisory |
| github.com/OISF/suricata/commit/82af0aeb7cec39e206a9ca96c4966425eddeaa74 | [email protected] | github.com | Patch |
| github.com/OISF/suricata/pull/15704 | [email protected] | github.com | Patch |
| github.com/OISF/suricata/releases/tag/suricata-8.0.6 | [email protected] | github.com | Release Notes |
| github.com/OISF/suricata/commit/d9fae18432501674338e28bd33e35788c95d4a98 | [email protected] | github.com | Patch |
| github.com/OISF/suricata/releases/tag/suricata-7.0.17 | [email protected] | github.com | Release Notes |
| github.com/OISF/suricata/security/advisories/GHSA-p33j-r48q-3jcf | [email protected] | github.com | Mitigation, Vendor Advisory |
| github.com/OISF/suricata/commit/b63224871b0f8b0b1f7b8c22d05ba8a5c5f69fbb | [email protected] | github.com | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.