2 matches found
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).
...
PT-2022-10275
Name of the Vulnerable Software and Affected Versions libtar affected versions not specified Description The issue arises after tar close is called, where libtar.c releases the memory pointed to by pointer t. However, the list function continues to use pointer t, specifically in the call to free...