CVE-2022-35114
Medium · 5.5CVSS
5.5
EPSS
0.3%
Published
Aug 16, 2022
CISA due date
—
Cloudanix analysis
A tool used to pull images out of certain animation files can suddenly stop working when it receives a specially prepared file.
- 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 flaw triggers a segmentation violation (crash) inside extractFrame at readers/swf.c when a malformed SWF file is processed, resulting in denial of service.
Why it matters to the business
Work that depends on SWFTools to extract frames from SWF files can be interrupted by crashes, causing processing delays or workflow failures.
How an attack unfolds
An attacker supplies a specially crafted SWF file to the extractFrame code path; the malformed input triggers an invalid memory access that immediately crashes the process.
How to fix it
Upgrade to a patched build once a fix is released; in the interim, avoid processing untrusted SWF files with extractFrame or replace the affected component with an alternative tool.
How to confirm the fix worked
Replay known crashing SWF inputs against the updated binary and confirm absence of segmentation faults or abnormal termination.
Typical attack path
- Create or obtain a malformed SWF file
- Invoke SWFTools functionality that calls extractFrame
- Trigger segmentation violation and application crash
How to detect it
Review process logs and crash reports for segmentation violation entries originating from readers/swf.c or extractFrame calls on SWF files.
What your security team should do
- Restrict extractFrame usage to trusted input only
- Monitor application logs for segmentation faults during SWF processing
- Track upstream commits for a corrective patch and deploy promptly
The record
SWFTools commit 772e55a2 was discovered to contain a segmentation violation via extractFrame at /readers/swf.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
- 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