Code execution via swf5lex out-of-bounds write
Published Jan 19, 2024 · Updated May 30, 2025
Heap buffer overflow in SWFTools 0.9.2 allows local users to execute code after a user compiles a crafted swfc script file. The swf5lex lexer writes one byte 295 bytes before its heap buffer while compileSWFActionCode processes attacker-controlled ActionScript. Exploitation requires a user to invoke swfc on the crafted input; the demonstrated result is memory corruption and process termination, while the CVE records code execution.
Summary
What happened
Heap buffer overflow in SWFTools 0.9.2 allows local users to execute code after a user compiles a crafted swfc script file. The swf5lex lexer writes one byte 295 bytes before its heap buffer while compileSWFActionCode processes attacker-controlled ActionScript. Exploitation requires a user to invoke swfc on the crafted input; the demonstrated result is memory corruption and process termination, while the CVE records code execution.
The record
- CVE
- CVE-2024-22913
- Published
- Jan 19, 2024
- Updated
- May 30, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-787, T1203, T1204.002
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jan 19, 2024CVE publishedPublication date reported by the CVE source.
- May 30, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- SWFTools swf5lex heap-overflow reproducerproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo