CVE-2021-33640 - CVE House
Back to Database
Status published Medium CVE-2021-33640

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

Vulnerability Description

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

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2021-33640

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

openEuler 22.03 LTS, openEuler 20.03 LTS SP1, openEuler 20.03 LTS SP3
Vulnerable Versions:
libtar 1.2.20-21, libtar 1.2.20-19

Timeline

Official Publish: December 19th, 2022
Last Modified: April 17th, 2025
Added to House: July 21st, 2026

CVSS Vectors

V3: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weaknesses (CWE)