CVE-2024-22911
High · 7.8CVSS
7.8
EPSS
0.3%
Published
Jan 19, 2024
CISA due date
—
Cloudanix analysis
A bug in an old Flash-file processing tool can let someone who already has access to a computer run harmful programs simply by feeding it a specially made file.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Full Compromise
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Stack buffer underflow in parseExpression during expression parsing leads to memory corruption with potential for crashes or arbitrary code execution on the local system.
Why it matters to the business
Local attackers can compromise systems that process untrusted input files with SWFTools, risking unauthorized code execution, data loss, or denial of service in environments still relying on the outdated tool.
How an attack unfolds
An attacker supplies a crafted input file containing a malformed expression to the swfc utility; when parseExpression processes the input, the underflow corrupts adjacent stack memory, enabling control-flow hijacking or crash.
How to fix it
Remove or isolate the vulnerable SWFTools 0.9.2 installation; replace with a newer maintained alternative or rebuild from source after applying upstream fixes if released.
How to confirm the fix worked
Confirm the presence of the vulnerable parseExpression function at src/swfc.c:2602 via source inspection or binary analysis, then test with known triggering inputs to verify crashes or corruption are eliminated after mitigation.
Typical attack path
- Identify or generate a malformed expression that triggers the underflow in parseExpression
- Invoke swfc or related SWFTools binaries on the malicious file
- Trigger memory corruption to achieve code execution or denial of service
How to detect it
Review process crash logs and core dumps for swfc or swftools binaries; correlate file-access events involving SWF or related inputs immediately preceding abnormal termination.
What your security team should do
- Inventory all systems using SWFTools and remove or restrict access to the vulnerable binary
- Block execution of swfc and related tools on endpoints that handle untrusted files
- Monitor vendor or community channels for any future patched releases
The record
A stack-buffer-underflow vulnerability was found in SWFTools v0.9.2, in the function parseExpression at src/swfc.c:2602.
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