CVE-2026-57226Suricata swf: heap buffer overflow in SWF decompression depth handling
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | suricata | Under investigation | UBUNTU-CVE-2026-57226 | |
| Ubuntu 24.04 | suricata | Under investigation | UBUNTU-CVE-2026-57226 | |
| Ubuntu 22.04 | suricata | Under investigation | UBUNTU-CVE-2026-57226 | |
| Ubuntu 18.04 | suricata | Fix pending | UBUNTU-CVE-2026-57226 | |
| Ubuntu 16.04 | suricata | Fix pending | UBUNTU-CVE-2026-57226 | |
| Debian 14 | suricata | Fixed | 1:8.0.6-1 | DEBIAN-CVE-2026-57226 |
| Debian 13 | suricata | Fix pending | DEBIAN-CVE-2026-57226 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- OISF suricata: affected: >= 8.0.0, < 8.0.6, < 7.0.17
References
- https://github.com/OISF/suricata/security/advisories/GHSA-p33j-r48q-3jcf
- https://github.com/OISF/suricata/pull/15704
- https://github.com/OISF/suricata/commit/82af0aeb7cec39e206a9ca96c4966425eddeaa74
- https://github.com/OISF/suricata/commit/b63224871b0f8b0b1f7b8c22d05ba8a5c5f69fbb
- https://github.com/OISF/suricata/commit/d9fae18432501674338e28bd33e35788c95d4a98
- 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/8642
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.