CVE-2021-33640CWE-416

After tar_close(), libtar.c releases the memory pointed to by pointer t

Medium · published December 19, 2022

CVSS v3.1
6.2
EPSS
1%
Percentile
52.4
In the wild
Unconfirmed
What it is

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).

The record
Technical detail
CVSS v3.1
6.2 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00695 · 52.4th percentile
Weakness
CWE-416 · Use After Free
Published
2022-12-19T00:00Z
EPSS history
Timeline
  • 19 DEC 00:00Z
    After tar_close(), libtar.c releases the memory pointed to by pointer t
    cvelistv5