Cloudanix VulnDB

CVE-2024-26335

None

CVSS

—

EPSS

0.4%

Published

Mar 5, 2024

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A flaw in an older version of a tool that handles Flash files can make the program crash when it tries to read certain bad files, potentially stopping any automated work that depends on it.

Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Denial Of Service
Component
Application
Class
Memory Corruption
Remediation
No Fix Yet
Effort
Other
Patch risk
Other

What it actually does

The vulnerability triggers a segmentation violation (crash) inside the state_free function when processing certain SWF input, indicating memory corruption such as use-after-free, double-free, or invalid pointer dereference.

Why it matters to the business

Processing untrusted SWF files with the affected tool can cause the application to crash, interrupting automated conversion or analysis workflows and requiring manual restarts or fallback processing.

How an attack unfolds

An attacker crafts a malicious SWF file that reaches the state_free function with corrupted internal state; when the tool opens or converts the file, the invalid memory access occurs and the process terminates.

How to fix it

Upgrade swftools to the latest available version that resolves the memory issue in swfc-history.c; if no patched release exists, replace the tool with an alternative SWF processor or sandbox its execution.

How to confirm the fix worked

Test the updated binary against a corpus of known-good and previously crashing SWF samples; confirm absence of crashes under the same inputs and review source history for the state_free fix.

Typical attack path

  1. Attacker prepares a specially malformed SWF file designed to corrupt history state.
  2. Victim or automated system invokes swftools on the supplied file.
  3. state_free is called with an invalid pointer or already-freed structure.
  4. Segmentation violation occurs, terminating the process.

How to detect it

Review application or system logs for segmentation faults or abrupt termination while processing SWF files; correlate with file names or hashes that were recently introduced into processing queues.

What your security team should do

  • Remove or isolate swftools from any pipeline that accepts untrusted SWF input.
  • Monitor vendor or community repositories for a patched release and apply it immediately upon availability.
  • Add runtime sandboxing or resource limits around the tool to contain crashes.

The record

swftools v0.9.2 was discovered to contain a segmentation violation via the function state_free at swftools/src/swfc-history.c.

Affected packages

Ecosystem Package Introduced Fixed
Ubuntu:16.04:LTS swftools 0 No fix
Ubuntu:18.04:LTS swftools 0 No fix
Ubuntu:Pro:16.04:LTS swftools 0 No fix
Ubuntu:Pro:18.04:LTS swftools 0 No fix

Related vulnerabilities