Skip to content
OpenAdvisories
Medium USN-7398-1 4 CVEs

libtar vulnerabilities

Published Mar 31, 2025 · Updated Jun 25, 2026

Summary

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)

Fixed packages 5

ReleasePackageFixed in
Ubuntu · 20.04 LTS 20.04:LTS libtar 1.2.20-8ubuntu0.20.04.1
Ubuntu · 22.04 LTS 22.04:LTS libtar 1.2.20-8ubuntu0.22.04.1
Ubuntu · 24.04 LTS 24.04:LTS libtar 1.2.20-8.1ubuntu0.24.04.1
Ubuntu · Pro 16.04 LTS Pro:16.04:LTS libtar 1.2.20-4ubuntu0.1~esm1
Ubuntu · Pro 18.04 LTS Pro:18.04:LTS libtar 1.2.20-7ubuntu0.1~esm1

Vulnerabilities 4

References

  • report
    https://ubuntu.com/security/CVE-2021-33643
  • report
    https://ubuntu.com/security/CVE-2021-33644
  • report
    https://ubuntu.com/security/CVE-2021-33645
  • report
    https://ubuntu.com/security/CVE-2021-33646