CVE-2022-35090
Medium · 5.5CVSS
5.5
EPSS
0.3%
Published
Sep 21, 2022
CISA due date
—
Cloudanix analysis
A flaw in a popular tool for handling Flash files can let a specially made file crash the program or take control of the computer when opened.
- 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
Heap buffer overflow during memcpy in SWFTools allows memory corruption when processing a malformed input file, resulting in application crash or potential arbitrary code execution.
Why it matters to the business
Users running unpatched SWFTools on local systems risk denial of service or system compromise when opening crafted files, with elevated urgency for environments relying on the tool for document or media workflows.
How an attack unfolds
An attacker crafts a malicious SWF file that triggers the overflow during parsing; the victim opens the file locally with an affected SWFTools binary, causing the memcpy to corrupt heap memory and potentially allowing code execution or crash.
How to fix it
Upgrade to a patched version of SWFTools once available; in the interim avoid processing untrusted files with the affected commit or build and consider alternative tools for SWF handling.
How to confirm the fix worked
Confirm the installed SWFTools binary is newer than commit 772e55a2 and test against known crashing inputs; monitor upstream repository for security fixes and rebuild from verified source.
Typical attack path
- Attacker creates malicious SWF file exploiting the buffer overflow
- Attacker delivers the file via email, download, or shared storage
- Victim opens the file using an affected SWFTools utility
- Heap overflow occurs during memcpy, leading to crash or exploitation
How to detect it
Review process crash logs and memory dumps for heap corruption patterns when SWFTools processes SWF files; correlate file access timestamps with application faults in system logs.
What your security team should do
- Block or sandbox execution of SWFTools on untrusted inputs until patched
- Inventory systems using SWFTools and prioritize updates
- Implement file-type restrictions and user training on handling SWF files
The record
SWFTools commit 772e55a2 was discovered to contain a heap-buffer overflow via __asan_memcpy at /asan/asan_interceptors_memintrinsics.cpp:.
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