Memory Leak in GNU tar's th_read() due to Unfreeing gnu_longname
CVE-2021-33646 Published on August 10, 2022

The th_read() function doesnt free a variable t->th_buf.gnu_longname after allocating memory, which may cause a memory leak.

Vendor Advisory Vendor Advisory Vendor Advisory Vendor Advisory Vendor Advisory NVD

Weakness Type

What is a Memory Leak Vulnerability?

The software does not sufficiently track and release allocated memory after it has been used, which slowly consumes remaining memory. This is often triggered by improper handling of malformed data or unexpectedly interrupted sessions. In some languages, developers are responsible for tracking memory allocation and releasing the memory. If there are no more pointers or references to the memory, then it can no longer be tracked and identified for release.

CVE-2021-33646 has been classified to as a Memory Leak vulnerability or weakness.


Products Associated with CVE-2021-33646

You can be notified by email with stack.watch whenever vulnerabilities like CVE-2021-33646 are published in these products:

 
 
 
 
 
 

Exploit Probability

EPSS
0.24%
Percentile
46.55%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.