Vulnerability database / CVE-2021-33640
CVE-2021-33640
CRITICAL 9.8 CVSS 3.1 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).
Published 19 Dec 2022
Last modified 17 Jun 2026 Assigned by securities@openeuler.org NVD status Modified Weakness
CWE-416 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.1
CRITICAL 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD
securities@openeuler.org (Secondary)
CVSS 3.1
MEDIUM 6.2
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
openatom
openeulercpe:2.3:o:openatom:openeuler:20.03:sp1:*:*:lts:*:*:*
= 20.03
NVD
openatom
openeulercpe:2.3:o:openatom:openeuler:20.03:sp2:*:*:lts:*:*:*
= 20.03
NVD
openatom
openeulercpe:2.3:o:openatom:openeuler:22.03:*:*:*:lts:*:*:*
= 22.03
NVD
fedoraproject
fedoracpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
= 36
NVD
fedoraproject
fedoracpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
= 37
References
History
25 Nov 2026 20:35 UTC · NVD: first stored (published 19 Dec 2022)