CVE-2022-35089
Medium · 5.5CVSS
5.5
EPSS
0.3%
Published
Sep 21, 2022
CISA due date
—
Cloudanix analysis
A flaw in image file handling can make certain programs crash when they open a specially made picture file on the same computer.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Application
- Class
- Buffer Overflow
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Heap buffer overflow triggered in getTransparentColor during processing of malformed GIF input in the gif2swf conversion path.
Why it matters to the business
Local denial-of-service risk when users or automated workflows handle untrusted image files, potentially disrupting media conversion or related applications on affected systems; low urgency given limited exploitability and age of the issue.
How an attack unfolds
An attacker prepares a crafted GIF file that triggers the overflow when the getTransparentColor function is invoked; the victim opens or processes the file locally with the vulnerable software, causing a crash or memory corruption.
How to fix it
Upgrade to fixed package versions: blueman-project/blueman GIT cd584efbe32b30930f64898315d3a3e4232b9400; Ubuntu 16.04 2.0.4-1ubuntu2.1; Ubuntu 18.04 2.0.5-1ubuntu1.1; Ubuntu 20.04 2.1.2-1ubuntu0.1; Debian 11/12/13 2.1.4-1. Rebuild or replace any embedded copies of the vulnerable component.
How to confirm the fix worked
Confirm installed package versions match or exceed the listed fixed releases; test conversion of known-malformed GIF samples in an isolated environment to verify absence of crash.
Typical attack path
- Create malicious GIF file exploiting the buffer handling flaw
- Deliver file to target system via email, download, or shared storage
- Victim or process opens or converts the file using the affected tool
- Overflow occurs in getTransparentColor leading to application crash
How to detect it
Review process crash logs, core dumps, and application error reports for segmentation faults or heap corruption during GIF conversion operations; correlate with file access timestamps on suspicious image files.
What your security team should do
- Prioritize patching systems that process untrusted GIF or SWF content
- Remove or sandbox the gif2swf binary where media conversion is not required
- Monitor for downstream dependents and verify updates in build pipelines
The record
SWFTools commit 772e55a2 was discovered to contain a heap-buffer-overflow via getTransparentColor at /home/bupt/Desktop/swftools/src/gif2swf.
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