
CVE catalog
CVE-2021-33645
libtar vulnerabilities
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.91% · Oct 25, 2026
A flaw was found in libtar. This security vulnerability occurs because the th_read() function in libtar doesn’t free a variable t->th_buf.gnu_longlink after allocating memory, which may cause a memory leak. libtar: memory leak found in th_read() function The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libtar | bookworm | 1.2.20-8+deb12u1 | fixed |
| Ubuntu | libtar | noble | 1.2.20-8.1ubuntu0.24.04.1 | fixed |
| Ubuntu | libtar-dev | noble | 1.2.20-8.1ubuntu0.24.04.1 | fixed |
| Ubuntu | libtar0t64 | noble | 1.2.20-8.1ubuntu0.24.04.1 | fixed |
| Ubuntu | libtar | pro | 1.2.20-7 | vulnerable |
| Ubuntu | libtar | pro | 1.2.20-7ubuntu0.1~esm1 | fixed |
| Ubuntu | libtar | 20.04 | 1.2.20-7 | vulnerable |
| Ubuntu | libtar | 20.04 | 1.2.20-8 | vulnerable |
| Ubuntu | libtar | 20.04 | 1.2.20-8ubuntu0.20.04.1 | fixed |
| Ubuntu | libtar | 22.04 | 1.2.20-8 | vulnerable |
| Ubuntu | libtar | 22.04 | 1.2.20-8ubuntu0.22.04.1 | fixed |
| Ubuntu | libtar | 24.04 | 1.2.20-8 | vulnerable |
| Ubuntu | libtar | 24.04 | 1.2.20-8.1 | vulnerable |
| Ubuntu | libtar | 24.04 | 1.2.20-8.1build1 | vulnerable |
| Ubuntu | libtar | 24.04 | 1.2.20-8.1ubuntu0.24.04.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libtar | source | bookworm | 1.2.20-8+deb12u1 | not yet assigned | Not reported | Not reported |
| Ubuntu | libtar | deb | noble | 1.2.20-8.1ubuntu0.24.04.1 | Not reported | Not reported | Not reported |
| Ubuntu | libtar-dev | deb | noble | 1.2.20-8.1ubuntu0.24.04.1 | Not reported | Not reported | Not reported |
| Ubuntu | libtar0t64 | deb | noble | 1.2.20-8.1ubuntu0.24.04.1 | Not reported | Not reported | Not reported |
| Ubuntu | libtar | deb | pro | 1.2.20-7ubuntu0.1~esm1 | Not reported | UBUNTU-CVE-2021-33645 | Not reported |
| Ubuntu | libtar | deb | 20.04 | 1.2.20-8ubuntu0.20.04.1 | Not reported | UBUNTU-CVE-2021-33645 | Not reported |
| Ubuntu | libtar | deb | 22.04 | 1.2.20-8ubuntu0.22.04.1 | Not reported | UBUNTU-CVE-2021-33645 | Not reported |
| Ubuntu | libtar | deb | 24.04 | 1.2.20-8.1ubuntu0.24.04.1 | Not reported | UBUNTU-CVE-2021-33645 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libtar0]Fixed
Source package: [libtar]
Details (2)
1.2.20-8+deb12u1· amd64 · bookwormFixed · Fixed:
1.2.20-8+deb12u1usn · libtar · debian · bookworm; usn · libtar · debian · 12
1.2.20-8+deb12u1· arm64 · bookwormFixed · Fixed:
1.2.20-8+deb12u1usn · libtar · debian · bookworm; usn · libtar · debian · 12
- [libtar-dev]Fixed
Source package: [libtar]
Details (2)
1.2.20-8+deb12u1· amd64 · bookwormFixed · Fixed:
1.2.20-8+deb12u1usn · libtar · debian · bookworm; usn · libtar · debian · 12
1.2.20-8+deb12u1· arm64 · bookwormFixed · Fixed:
1.2.20-8+deb12u1usn · libtar · debian · bookworm; usn · libtar · debian · 12
Observed:
References
- [https://access.redhat.com/errata/RHSA-2023:2898]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2023_2898.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-33645]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-33645]
- [https://security-tracker.debian.org/tracker/CVE-2021-33645]
- [https://ubuntu.com/security/notices/USN-7398-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-1238.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]