9.8
CVSSv3

CVE-2021-33640

Published: 19/12/2022 Updated: 07/11/2023
CVSS v3 Base Score: 9.8 | Impact Score: 5.9 | Exploitability Score: 3.9
VMScore: 0

Vulnerability Summary

After tar_close(), libtar.c releases the memory pointed to by pointer t. After tar_close() is called in the list() function, it continues to use pointer t: free_longlink_longname(t->th_buf) . As a result, the released memory is used (use-after-free).

Vulnerability Trend

Vulnerable Product Search on Vulmon Subscribe to Product

huawei openeuler 20.03

huawei openeuler 22.03

fedoraproject fedora 36

fedoraproject fedora 37

Vendor Advisories

DescriptionThe MITRE CVE dictionary describes this issue as: After tar_close(), libtarc releases the memory pointed to by pointer t After tar_close() is called in the list() function, it continues to use pointer t: free_longlink_longname(t->th_buf) As a result, the released memory is used (use-after-free) ...