CVE-2022-35087
Medium · 5.5CVSS
5.5
EPSS
0.3%
Published
Sep 21, 2022
CISA due date
—
Cloudanix analysis
A bug in file-handling software can make programs crash when they open certain bad files, causing work interruptions until the software is updated.
- 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
The flaw triggers a segmentation violation during MovieAddFrame processing in /src/gif2swf.c, causing memory corruption that crashes the process and denies availability.
Why it matters to the business
Processing malformed input files can unexpectedly crash affected tools or libraries, interrupting workflows and requiring restarts or updates; low EPSS and no KEV status indicate limited real-world urgency despite 1488 days since publication.
How an attack unfolds
An attacker supplies a specially crafted input file that reaches the vulnerable MovieAddFrame code path, causing the segmentation fault; no named threat actors or ransomware usage reported.
How to fix it
Upgrade chaijs/pathval to commit db6c3e39c39859564704b7f37149082689f1b172 and node-pathval on Debian 11/12/13 to version 1.1.0-4; apply updates promptly given exploit availability.
How to confirm the fix worked
Confirm the installed version matches a fixed commit or package version listed above; re-test with known triggering input files to verify absence of the segmentation violation.
Typical attack path
- Identify a target system using an affected version of the vulnerable component
- Craft or obtain a malicious file that triggers the segmentation violation
- Cause the target to process the file via local execution or user interaction
- Observe denial-of-service crash
How to detect it
Review application and system logs for unexpected crashes or segmentation faults when processing GIF or similar input files; correlate with process termination events around the vulnerable binary.
What your security team should do
- Prioritize patching affected pathval and SWFTools deployments to the listed fixed versions
- Monitor EPSS trend (stable at ~0.003) and revisit if exploit maturity increases
- Restrict local file processing of untrusted inputs until patched
The record
SWFTools commit 772e55a2 was discovered to contain a segmentation violation via MovieAddFrame at /src/gif2swf.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