CVE & CISA-KEV Catalog

CVE-2021-33646

HIGH
7.5
CVSS v3
NVD

Description

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

How to fix

Remediation Available
libtarDebian
Fixed in:1.2.20-8+deb12u1~deb11u1CVE-2021-33646
Fixed in:1.2.20-8+deb12u1CVE-2021-33646
libtarRocky
Fixed in:0:1.2.20-17.el8RHSA-2023:2898
Fixed in:0:1.2.20-17.el8RHSA-2023:2898
Fixed in:0:1.2.20-17.el8RHSA-2023:2898
Fixed in:0:1.2.20-17.el8RHSA-2023:2898
Fixed in:0:1.2.20-17.el8RHSA-2023:2898
Fixed in:0:1.2.20-17.el8RHSA-2023:2898
libtarRed Hat / RHEL
Fixed in:0:1.2.20-17.el8RHSA-2023:2898
Fixed in:0:1.2.20-17.el8RHSA-2023:2898
Fixed in:0:1.2.20-17.el8RHSA-2023:2898
Fixed in:0:1.2.20-17.el8RHSA-2023:2898
Fixed in:0:1.2.20-17.el8RHSA-2023:2898
Fixed in:0:1.2.20-17.el8RHSA-2023:2898
libtar-debuginfoRocky
Fixed in:0:1.2.20-17.el8RHSA-2023:2898
Fixed in:0:1.2.20-17.el8RHSA-2023:2898
Fixed in:0:1.2.20-17.el8RHSA-2023:2898
Fixed in:0:1.2.20-17.el8RHSA-2023:2898
Fixed in:0:1.2.20-17.el8RHSA-2023:2898
libtar-debuginfoRed Hat / RHEL
Fixed in:0:1.2.20-17.el8RHSA-2023:2898
Fixed in:0:1.2.20-17.el8RHSA-2023:2898
Fixed in:0:1.2.20-17.el8RHSA-2023:2898
Fixed in:0:1.2.20-17.el8RHSA-2023:2898
Fixed in:0:1.2.20-17.el8RHSA-2023:2898
libtar-debugsourceRocky
Fixed in:0:1.2.20-17.el8RHSA-2023:2898
Fixed in:0:1.2.20-17.el8RHSA-2023:2898
Fixed in:0:1.2.20-17.el8RHSA-2023:2898
Fixed in:0:1.2.20-17.el8RHSA-2023:2898
Fixed in:0:1.2.20-17.el8RHSA-2023:2898
libtar-debugsourceRed Hat / RHEL
Fixed in:0:1.2.20-17.el8RHSA-2023:2898
Fixed in:0:1.2.20-17.el8RHSA-2023:2898
Fixed in:0:1.2.20-17.el8RHSA-2023:2898
Fixed in:0:1.2.20-17.el8RHSA-2023:2898
Fixed in:0:1.2.20-17.el8RHSA-2023:2898
libtarUbuntu
Fixed in:1.2.20-4ubuntu0.1~esm1USN-7398-1
Fixed in:1.2.20-7ubuntu0.1~esm1USN-7398-1
Fixed in:1.2.20-8ubuntu0.20.04.1USN-7398-1
Fixed in:1.2.20-8ubuntu0.22.04.1USN-7398-1
Fixed in:1.2.20-8.1ubuntu0.24.04.1USN-7398-1
libtar-devUbuntu
Fixed in:1.2.20-4ubuntu0.1~esm1USN-7398-1
Fixed in:1.2.20-7ubuntu0.1~esm1USN-7398-1
Fixed in:1.2.20-8ubuntu0.20.04.1USN-7398-1
Fixed in:1.2.20-8ubuntu0.22.04.1USN-7398-1
Fixed in:1.2.20-8.1ubuntu0.24.04.1USN-7398-1
libtar0Ubuntu
Fixed in:1.2.20-4ubuntu0.1~esm1USN-7398-1
Fixed in:1.2.20-7ubuntu0.1~esm1USN-7398-1
Fixed in:1.2.20-8ubuntu0.20.04.1USN-7398-1
Fixed in:1.2.20-8ubuntu0.22.04.1USN-7398-1
libtar0t64Ubuntu
Fixed in:1.2.20-8.1ubuntu0.24.04.1USN-7398-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

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

Exploit Intelligence

1.43%probability of exploitation in 30 days
70thpercentile

Moderate risk: more likely to be exploited than 70% of all known CVEs.

References

Related Vulnerabilities

Other CWE-401 (Missing Release of Memory (Memory Leak)) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2020-13934High7.564%-Fix
CVE-2016-6304High7.563%-Fix
CVE-2019-12265Medium5.355%-Fix
CVE-2001-0136Medium5.045%--
CVE-2016-4232High7.536%--
CVE-2001-0543Medium5.021%--
Embed a live status badge for CVE-2021-33646
CVE-2021-33646 severity badge

Markdown

[![CVE-2021-33646](https://tridentstack.com/cve/badge/CVE-2021-33646.svg)](https://tridentstack.com/cve/CVE-2021-33646)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-33646"><img src="https://tridentstack.com/cve/badge/CVE-2021-33646.svg" alt="CVE-2021-33646"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-11-03.