
Cloud Vulnerability DB
A community-led vulnerabilities database
A heap buffer overflow vulnerability was discovered in swftools through version 20201222. The vulnerability exists in the function swf_FontExtract_DefineTextCallback located in swftext.c. This issue was assigned CVE-2021-42199 and was publicly disclosed in June 2022 (NVD, CISA).
The vulnerability is a heap-based buffer overflow that occurs in the swf_FontExtract_DefineTextCallback function within the swftext.c file. When processing certain SWF files, the function performs a write operation of size 2 at an invalid memory address, leading to a heap buffer overflow condition. This was confirmed through AddressSanitizer analysis which detected the overflow at memory address 0x61600000ffa0 (GitHub Issue). The vulnerability has been assigned a CVSS v3.1 score of 7.8 (HIGH) (NVD).
If successfully exploited, this vulnerability allows attackers to execute arbitrary code on affected systems. The heap buffer overflow can lead to memory corruption and potential code execution in the context of the application (NVD).
Users should upgrade to a version newer than 20201222 if available. As this is a memory corruption vulnerability, standard memory protection mechanisms like ASLR and DEP may provide some mitigation against exploitation attempts.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."