CVE-2021-42203 Use after free in n/a
A heap-use-after-free in swftools allows attackers to execute arbitrary code via crafted SWF files.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-42203?
CVE-2021-42203 is a high-severity use after free vulnerability in Swftools Swftools, published on 31 May 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
An issue was discovered in swftools through 20201222. A heap-use-after-free exists in the function swf_FontExtract_DefineTextCallback() located in swftext.c. It allows an attacker to cause code execution.
Weakness: CWE-416
Which versions are affected by CVE-2021-42203?
It affects 1 product.
Products include Swftools Swftools.
How do I fix CVE-2021-42203?
No fix has been published for CVE-2021-42203 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2021-42203 being exploited?
There is no known exploitation of CVE-2021-42203 in the wild and no public exploit code.
Other vulnerabilities in Swftools Swftools
Sources
Also known as GHSA-g5hc-877g-c5px, UBUNTU-CVE-2021-42203.