CVE-2022-35093
Medium · 5.5CVSS
5.5
EPSS
0.4%
Published
Sep 23, 2022
CISA due date
—
Cloudanix analysis
A bug in a Flash file handling tool can make the program crash when it tries to open certain specially made files.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Patch
- Effort
- Medium
- Patch risk
- Low
What it actually does
Global buffer overflow in DCTStream::transformDataUnit at /xpdf/Stream.cc causes memory corruption when processing malformed SWF input, resulting in denial of service.
Why it matters to the business
Processing untrusted SWF files with affected SWFTools versions can crash the application, disrupting workflows that rely on SWF conversion or analysis tools; low exploitation likelihood but exploit code is public.
How an attack unfolds
An attacker crafts a malicious SWF file containing specially malformed DCT data that triggers the overflow in transformDataUnit when parsed by SWFTools; the victim opens the file locally with an affected tool, leading to a crash due to the buffer overflow.
How to fix it
No fixed versions are listed; discontinue use of affected SWFTools commits or replace with alternative tools that handle SWF files safely. Avoid processing untrusted SWF input until a patched version is available.
How to confirm the fix worked
Confirm SWFTools version is newer than commit 772e55a2 or test with known crashing SWF samples; monitor for segmentation faults when parsing DCT-containing streams.
Typical attack path
- Attacker generates SWF file with crafted DCT stream data to overflow the buffer
- Attacker delivers the malicious SWF to the target via email, web, or file share
- Victim opens the SWF using an affected SWFTools binary on their local system
- DCTStream::transformDataUnit processes the input and overflows the global buffer
- Application crashes, achieving denial of service
How to detect it
Review system and application logs for SWFTools crashes or segmentation faults when processing SWF files; look for unusual process terminations involving swftools binaries on systems that handle Flash content.
What your security team should do
- Block or sandbox SWFTools usage on untrusted SWF files immediately
- Scan for and inventory all deployments of SWFTools across the environment
- Replace SWFTools with maintained alternatives where possible
- Enable crash reporting and logging for any remaining SWFTools instances
The record
SWFTools commit 772e55a2 was discovered to contain a global buffer overflow via DCTStream::transformDataUnit at /xpdf/Stream.cc.
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
- CVE-2024-28458 Null Pointer Dereference vulnerability in swfdump in swftools 0.9.2 allows attackers to… Also affects swftools
- CVE-2024-26334 swftools v0.9.2 was discovered to contain a segmentation violation via the function… Also affects swftools
- CVE-2024-26337 swftools v0.9.2 was discovered to contain a segmentation violation via the function… Also affects swftools
- CVE-2024-26335 swftools v0.9.2 was discovered to contain a segmentation violation via the function… Also affects swftools
- CVE-2024-26339 swftools v0.9.2 was discovered to contain a strcpy parameter overlap via… Also affects swftools
- CVE-2024-26333 swftools v0.9.2 was discovered to contain a segmentation violation via the function… Also affects swftools
- CVE-2024-25165 A global-buffer-overflow vulnerability was found in SWFTools v0.9.2, in the function… Also affects swftools
- CVE-2024-22956 swftools 0.9.2 was discovered to contain a heap-use-after-free vulnerability via the… Also affects swftools