CVE catalog

CVE-2021-33645

libtar vulnerabilities

[CVE catalog]

Severity
High · CVSS 7.5CVSS: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.

DistributionPackageReleaseVersionStatus
Debianlibtarbookworm1.2.20-8+deb12u1fixed
Ubuntulibtarnoble1.2.20-8.1ubuntu0.24.04.1fixed
Ubuntulibtar-devnoble1.2.20-8.1ubuntu0.24.04.1fixed
Ubuntulibtar0t64noble1.2.20-8.1ubuntu0.24.04.1fixed
Ubuntulibtarpro1.2.20-7vulnerable
Ubuntulibtarpro1.2.20-7ubuntu0.1~esm1fixed
Ubuntulibtar20.041.2.20-7vulnerable
Ubuntulibtar20.041.2.20-8vulnerable
Ubuntulibtar20.041.2.20-8ubuntu0.20.04.1fixed
Ubuntulibtar22.041.2.20-8vulnerable
Ubuntulibtar22.041.2.20-8ubuntu0.22.04.1fixed
Ubuntulibtar24.041.2.20-8vulnerable
Ubuntulibtar24.041.2.20-8.1vulnerable
Ubuntulibtar24.041.2.20-8.1build1vulnerable
Ubuntulibtar24.041.2.20-8.1ubuntu0.24.04.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibtarsourcebookworm1.2.20-8+deb12u1not yet assignedNot reportedNot reported
Ubuntulibtardebnoble1.2.20-8.1ubuntu0.24.04.1Not reportedNot reportedNot reported
Ubuntulibtar-devdebnoble1.2.20-8.1ubuntu0.24.04.1Not reportedNot reportedNot reported
Ubuntulibtar0t64debnoble1.2.20-8.1ubuntu0.24.04.1Not reportedNot reportedNot reported
Ubuntulibtardebpro1.2.20-7ubuntu0.1~esm1Not reportedUBUNTU-CVE-2021-33645Not reported
Ubuntulibtardeb20.041.2.20-8ubuntu0.20.04.1Not reportedUBUNTU-CVE-2021-33645Not reported
Ubuntulibtardeb22.041.2.20-8ubuntu0.22.04.1Not reportedUBUNTU-CVE-2021-33645Not reported
Ubuntulibtardeb24.041.2.20-8.1ubuntu0.24.04.1Not reportedUBUNTU-CVE-2021-33645Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libtar0]Fixed

    Source package: [libtar]

    Details (2)
    • 1.2.20-8+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 1.2.20-8+deb12u1

      usn · libtar · debian · bookworm; usn · libtar · debian · 12

    • 1.2.20-8+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 1.2.20-8+deb12u1

      usn · libtar · debian · bookworm; usn · libtar · debian · 12

  • [libtar-dev]Fixed

    Source package: [libtar]

    Details (2)
    • 1.2.20-8+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 1.2.20-8+deb12u1

      usn · libtar · debian · bookworm; usn · libtar · debian · 12

    • 1.2.20-8+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 1.2.20-8+deb12u1

      usn · libtar · debian · bookworm; usn · libtar · debian · 12

Observed:

References