USN-7398-1

Type: Security
Severity: Medium
Published: 2025-03-31
Ubuntu 20.04 LTS (Focal Fossa)
Ubuntu 22.04 LTS (Jammy Jellyfish)
Ubuntu 24.04 LTS (Noble Numbat)

It was discovered that libtar may perform out-of-bounds reads when processing specially crafted tar files. An attacker could possibly use this issue to cause libtar to crash, resulting in a denial of service, or execute arbitrary code. (CVE-2021-33643, CVE-2021-33644) It was discovered that libtar contained a memory leak due to failing to free a variable, causing performance degradation. An attacker could possibly use this issue to cause libtar to crash, resulting in a denial of service. (CVE-2021-33645, CVE-2021-33646) Update Instructions: Run `sudo pro fix USN-7398-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: libtar-dev - 1.2.20-8ubuntu0.20.04.1 libtar0 - 1.2.20-8ubuntu0.20.04.1 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T02:49:42.558Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T02:49:42.558Z UTC. Last updated 2025-11-26T08:46:32.893Z UTC.

Upstream Advisory

Affected Packages

  • libtar-dev 1.2.20-8ubuntu0.20.04.1-1.2.20-8ubuntu0.20.04.1

  • libtar0 1.2.20-8ubuntu0.20.04.1-1.2.20-8ubuntu0.20.04.1

  • libtar-dev 1.2.20-8ubuntu0.22.04.1-1.2.20-8ubuntu0.22.04.1

  • libtar0 1.2.20-8ubuntu0.22.04.1-1.2.20-8ubuntu0.22.04.1

  • libtar-dev 1.2.20-8.1ubuntu0.24.04.1-1.2.20-8.1ubuntu0.24.04.1

  • libtar0t64 1.2.20-8.1ubuntu0.24.04.1-1.2.20-8.1ubuntu0.24.04.1

Interested in being alerted when there are new versions of libtar-dev and the other packages? Set up an alert.
USN-7398-1: libtar vulnerabilities | Package Alert