PT-2022-10275 · Libtar · Libtar

Published

2022-12-09

·

Updated

2025-04-02

·

CVE-2021-33640

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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 longlink longname(t->th buf), resulting in the use of released memory, which is a use-after-free condition.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Use After Free

Weakness Enumeration

Related Identifiers

AZL-12933
AZL-34950
CVE-2021-33640
MGASA-2022-0488
OESA-2022-2129
OESA-2023-1008

Affected Products

Libtar