Skip to main content
Network Thinking Solutions Logo

CVE-2021-33640

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

All CVEs
CVE-2021-33640Published 12/19/2022

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

Vendor advisory
CVSS9.8Critical

Overview

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
12/19/2022
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
openeuler
openatom
20.03

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
openeuler
openatom
22.03

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
fedora
fedoraproject
36

Verify advisory

Source
fedora
fedoraproject
37

Verify advisory

Source
openEuler 22.03 LTS
openEuler
libtar 1.2.20-21

Verify advisory

Source
openEuler 20.03 LTS SP1
openEuler
libtar 1.2.20-19

Verify advisory

Source
openEuler 20.03 LTS SP3
openEuler
libtar 1.2.20-19

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 9.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.