# CVE-2026-57226: Suricata swf: heap buffer overflow in SWF decompression depth handling

- Severity: Low 3.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.59%, higher than 49% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-18T20:07:31.465Z
- Modified: 2026-09-28T18:36:20.180Z
- Weaknesses: CWE-122, CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- OISF suricata: >= 8.0.0, < 8.0.6; < 7.0.17; before 7.0.17; from 8.0.0 before 8.0.6

## Every score

- GitHub_M: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://redmine.openinfosecfoundation.org/issues/8642> (exploit, issue-tracking, third-party-advisory)
- <https://github.com/OISF/suricata/security/advisories/GHSA-p33j-r48q-3jcf> (mitigation, vendor-advisory)
- <https://github.com/OISF/suricata/pull/15704> (patch)
- <https://github.com/OISF/suricata/commit/82af0aeb7cec39e206a9ca96c4966425eddeaa74> (patch)
- <https://github.com/OISF/suricata/commit/b63224871b0f8b0b1f7b8c22d05ba8a5c5f69fbb> (patch)
- <https://github.com/OISF/suricata/commit/d9fae18432501674338e28bd33e35788c95d4a98> (patch)
- <https://github.com/OISF/suricata/releases/tag/suricata-7.0.17> (release-notes)
- <https://github.com/OISF/suricata/releases/tag/suricata-8.0.6> (release-notes)

## Sources

- CVE List: [CVE-2026-57226](https://www.cve.org/CVERecord?id=CVE-2026-57226), CVE Terms of Use, modified 2026-09-22
- NVD: [CVE-2026-57226](https://nvd.nist.gov/vuln/detail/CVE-2026-57226), Public domain, modified 2026-09-28

---

Page: https://cve.day/CVE-2026-57226 · Whole record: https://cve.day/CVE-2026-57226.json · Rebuilt by cve.day 2026-11-25T22:59:39.663Z
