CVEfocus › CVE database › CVE-2021-33646

CVE-2021-33646

EPSS 2.0% (higher than 81% of CVEs)Published 2022-08-09Updated 2025-11-03Assigner: openEuler

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

CWE-401

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fixed
3Fix pending
4Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04libtarFixed1.2.20-8.1ubuntu0.24.04.1UBUNTU-CVE-2021-33646
Ubuntu 22.04libtarFixed1.2.20-8ubuntu0.22.04.1UBUNTU-CVE-2021-33646
Ubuntu 20.04libtarFixed1.2.20-8ubuntu0.20.04.1UBUNTU-CVE-2021-33646
Ubuntu 18.04libtarFix pending1.2.20-7ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2021-33646
Ubuntu 16.04libtarFix pending1.2.20-4ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2021-33646
Ubuntu 14.04libtarFix pending
Debian 12libtarFixed1.2.20-8+deb12u1DEBIAN-CVE-2021-33646
Red Hat Enterprise Linux 8libtarFixed0:1.2.20-17.el8RHSA-2023:2898
Red Hat Enterprise Linux 7libtarWill not fix
Out of support scope
Red Hat Enterprise Linux 7libtar-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6libtarWill not fix
Out of support scope
Red Hat Enterprise Linux 6libtar-develWill not fix
Out of support scope
AlmaLinux 8libtarFixed1.2.20-17.el8ALSA-2023:2898
Rocky Linux 8libtarFixed0:1.2.20-17.el8RLSA-2023:2898

What the vendor says

As published in the CVE record by openEuler, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.