CVE catalog

CVE-2021-33646

libtar vulnerabilities

[CVE catalog]

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_longname 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.

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
2.00% · Oct 27, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Distribution / releasePackageVersionStatusSource
Debianbookwormlibtar1.2.20-8+deb12u1FixedDistribution-reported fixed boundary[CVE-2021-33646]

Showing 1 fix observations. All 15 observations, including unknown and conflicting reports, are available below.

Provider details and historical evidence
Distribution / releasePackageVersionStatusSource
UnknownRelease not reportedlibtar1.2.20-8.1ubuntu0.24.04.1UnknownSource applicability is not establishedProvider not reported
UnknownRelease not reportedlibtar-dev1.2.20-8.1ubuntu0.24.04.1UnknownSource applicability is not establishedProvider not reported
UnknownRelease not reportedlibtar0t641.2.20-8.1ubuntu0.24.04.1UnknownSource applicability is not establishedProvider not reported
Debianbookwormlibtar1.2.20-8+deb12u1FixedDistribution-reported fixed boundary[CVE-2021-33646]
Ubuntu20.04libtar1.2.20-7UnknownSource applicability is not established[UBUNTU-CVE-2021-33646]
Ubuntu20.04libtar1.2.20-8UnknownSource applicability is not established[UBUNTU-CVE-2021-33646]
Ubuntu20.04libtar1.2.20-8ubuntu0.20.04.1UnknownSource applicability is not established[UBUNTU-CVE-2021-33646]
Ubuntu22.04libtar1.2.20-8UnknownSource applicability is not established[UBUNTU-CVE-2021-33646]
Ubuntu22.04libtar1.2.20-8ubuntu0.22.04.1UnknownSource applicability is not established[UBUNTU-CVE-2021-33646]
Ubuntu24.04libtar1.2.20-8UnknownSource applicability is not established[UBUNTU-CVE-2021-33646]
Ubuntu24.04libtar1.2.20-8.1UnknownSource applicability is not established[UBUNTU-CVE-2021-33646]
Ubuntu24.04libtar1.2.20-8.1build1UnknownSource applicability is not established[UBUNTU-CVE-2021-33646]
Ubuntu24.04libtar1.2.20-8.1ubuntu0.24.04.1UnknownSource applicability is not established[UBUNTU-CVE-2021-33646]
Ubuntuprolibtar1.2.20-7UnknownSource applicability is not established[UBUNTU-CVE-2021-33646]
Ubuntuprolibtar1.2.20-7ubuntu0.1~esm1UnknownSource applicability is not established[UBUNTU-CVE-2021-33646]
Original provider fields
{
  "package_releases": [
    {
      "name": "libtar",
      "status": "fixed",
      "release": "bookworm",
      "version": "1.2.20-8+deb12u1"
    }
  ],
  "fixed_versions": [
    {
      "bug": null,
      "name": "libtar",
      "type": "source",
      "origin": null,
      "release": "bookworm",
      "urgency": "not yet assigned",
      "fixed_version": "1.2.20-8+deb12u1"
    }
  ],
  "distribution_packages": [
    {
      "name": "libtar",
      "fixed_version": "1.2.20-8.1ubuntu0.24.04.1",
      "applicability_unknown": true
    },
    {
      "name": "libtar-dev",
      "fixed_version": "1.2.20-8.1ubuntu0.24.04.1",
      "applicability_unknown": true
    },
    {
      "name": "libtar0t64",
      "fixed_version": "1.2.20-8.1ubuntu0.24.04.1",
      "applicability_unknown": true
    },
    {
      "name": "libtar",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.2.20-7ubuntu0.1~esm1"
            }
          ]
        }
      ],
      "release": "pro",
      "versions": [
        "1.2.20-7"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-33646",
      "fixed_version": "1.2.20-7ubuntu0.1~esm1",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2021-33646",
      "provider_updated_at": "2026-04-22T12:54:28.144188Z",
      "applicability_unknown": true
    },
    {
      "name": "libtar",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.2.20-8ubuntu0.20.04.1"
            }
          ]
        }
      ],
      "release": "20.04",
      "versions": [
        "1.2.20-7",
        "1.2.20-8"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-33646",
      "fixed_version": "1.2.20-8ubuntu0.20.04.1",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2021-33646",
      "provider_updated_at": "2026-04-22T12:54:28.144188Z",
      "applicability_unknown": true
    },
    {
      "name": "libtar",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.2.20-8ubuntu0.22.04.1"
            }
          ]
        }
      ],
      "release": "22.04",
      "versions": [
        "1.2.20-8"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-33646",
      "fixed_version": "1.2.20-8ubuntu0.22.04.1",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2021-33646",
      "provider_updated_at": "2026-04-22T12:54:28.144188Z",
      "applicability_unknown": true
    },
    {
      "name": "libtar",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.2.20-8.1ubuntu0.24.04.1"
            }
          ]
        }
      ],
      "release": "24.04",
      "versions": [
        "1.2.20-8",
        "1.2.20-8.1",
        "1.2.20-8.1build1"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-33646",
      "fixed_version": "1.2.20-8.1ubuntu0.24.04.1",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2021-33646",
      "provider_updated_at": "2026-04-22T12:54:28.144188Z",
      "applicability_unknown": true
    }
  ]
}

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [libtar0]Unknown

    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]Unknown

    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