
CVE catalog
CVE-2021-33644
libtar vulnerabilities
- Severity
- High · CVSS 8.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.49% · Oct 25, 2026
A flaw was found in libtar. This flaw allows an attacker who submits a crafted tar file with size in header struct being 0 to trigger a calling of malloc(0) for a variable gnu_longname, causing an out-of-bounds read. libtar: out-of-bounds read in gnu_longname 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-33644 | Not reported |
| Ubuntu | libtar | deb | 20.04 | 1.2.20-8ubuntu0.20.04.1 | Not reported | UBUNTU-CVE-2021-33644 | Not reported |
| Ubuntu | libtar | deb | 22.04 | 1.2.20-8ubuntu0.22.04.1 | Not reported | UBUNTU-CVE-2021-33644 | Not reported |
| Ubuntu | libtar | deb | 24.04 | 1.2.20-8.1ubuntu0.24.04.1 | Not reported | UBUNTU-CVE-2021-33644 | 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-33644]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-33644]
- [https://security-tracker.debian.org/tracker/CVE-2021-33644]
- [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)]