Cloudanix VulnDB

CVE-2022-35100

Medium · 6.5

CVSS

6.5

EPSS

0.7%

Published

Aug 16, 2022

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A bug in a common SWF processing tool can make the program crash when it tries to handle certain files, which may stop related work from finishing.

Exploit Available
Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Denial Of Service
Component
Application
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

A segmentation violation occurs in gfxline_getbbox at /lib/gfxtools.c due to invalid memory access during graphics bounding box calculations, constituting a memory corruption flaw that crashes the process.

Why it matters to the business

SWFTools utilities become unreliable when handling certain SWF content, interrupting media processing, conversion, or analysis workflows that depend on the package.

How an attack unfolds

An attacker supplies a specially crafted SWF file that reaches the vulnerable gfxline_getbbox path; the resulting memory corruption triggers an immediate segmentation fault and application crash. Public exploit code is available, though no named threat actors or ransomware campaigns have been observed.

How to fix it

Apply source-level patches that correct the invalid memory handling in gfxtools.c; rebuild SWFTools from a revision after commit 772e55a2; until a fixed release appears, restrict processing of untrusted SWF files or migrate to alternative tooling.

How to confirm the fix worked

Rebuild and test with known triggering SWF samples to confirm absence of crashes; inspect gfxtools.c for corrected bounds or null checks around gfxline_getbbox; monitor upstream commits for a resolving change.

Typical attack path

  1. Craft a malicious SWF file that exercises the gfxline_getbbox flaw
  2. Deliver the file to a target environment that invokes SWFTools
  3. Trigger processing of the file, inducing the segmentation violation and denial of service

How to detect it

Review system logs, core dumps, or application output for segmentation faults originating from gfxline_getbbox or gfxtools.c when SWF files are processed; correlate with process termination events on systems running SWFTools.

What your security team should do

  • Treat as priority for environments that process external SWF content given public exploit availability
  • Implement file-type sandboxing or input validation before invoking SWFTools
  • Track upstream repository for a corrected release and update immediately upon availability
  • Document compensating controls if the package cannot be replaced

The record

SWFTools commit 772e55a2 was discovered to contain a segmentation violation via gfxline_getbbox at /lib/gfxtools.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