CVE-2022-35086
Medium · 5.5CVSS
5.5
EPSS
0.3%
Published
Sep 21, 2022
CISA due date
—
Cloudanix analysis
A bug in a file-processing utility can make the program crash when it tries to handle certain files, interrupting any work that depends on the tool.
- 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 an unaligned memmove operation in the vectorized memory copy routine, resulting in an application crash.
Why it matters to the business
Processing of certain input files becomes unreliable, causing workflow interruptions and potential loss of productivity for users relying on the affected tools.
How an attack unfolds
An attacker supplies a crafted input file that reaches the vulnerable memory-copy path; when the tool processes the file the unaligned access triggers the segmentation fault.
How to fix it
Rebuild from a commit after 772e55a2 or apply a vendor patch that corrects the unaligned memory access; avoid processing untrusted files with the affected version until updated.
How to confirm the fix worked
Re-run the tool against the previously crashing test case and confirm absence of segmentation faults; verify the updated binary no longer references the faulty memmove-vec-unaligned-erms path.
Typical attack path
- Obtain or generate a malicious input file that exercises the affected memmove path
- Invoke the vulnerable SWFTools binary with the crafted file as argument
- Observe the resulting segmentation fault and application termination
How to detect it
Inspect system and application logs for segmentation fault entries or core dumps generated by swftools binaries; correlate crashes with file-processing activity.
What your security team should do
- Prioritize upgrade of SWFTools to a fixed build
- Restrict execution of affected binaries to trusted inputs only
- Monitor upstream commits for the memory-corruption fix and schedule deployment
The record
SWFTools commit 772e55a2 was discovered to contain a segmentation violation via /multiarch/memmove-vec-unaligned-erms.S.
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