CVE-2026-57226
Description
A flaw was found in Suricata, a network Intrusion Detection System (IDS). When the non-default SWF (Small Web Format) decompression feature is enabled with an unsafe decompression depth, a remote attacker can send a specially crafted SWF response. This can trigger a heap buffer overflow during HTTP SWF decompression, leading to a denial of service by crashing the Suricata engine.
Statement
Red Hat Product Security has determined that this vulnerability does not affect any currently supported Red Hat product. This assessment may evolve based on further analysis and discovery. For more information about this vulnerability and the products it affects, please see the linked references.
Mitigation
To mitigate this issue, ensure that the `swf-decompression` feature in Suricata remains disabled, as it is by default. If `swf-decompression` is enabled, configure a safe `decompress-depth` to prevent heap buffer overflows. Consult Suricata's documentation for specific configuration details. A restart of the Suricata service may be required for configuration changes to take effect.
Understanding the Weakness (CWE)
Integrity
Technical Impact: Modify Memory; Execute Unauthorized Code or Commands
Write operations could cause memory corruption. In some cases, an adversary can modify control data such as return addresses in order to execute unexpected code.
Availability
Technical Impact: DoS: Crash, Exit, or Restart
Attempting to access out-of-range, invalid, or unauthorized memory could cause the product to crash.
Other
Technical Impact: Unexpected State
Subsequent write operations can produce undefined or unexpected results.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.