Skip to content
OpenAdvisories
Medium USN-8477-3 1 CVE

tar regression

Published Jul 22, 2026 · Updated Jul 22, 2026

Summary

USN-8477-1 fixed a vulnerability in tar. That fix was incomplete and could
cause tar to fail to extract old archives that recorded a nonzero size for
directory entries, resulting in a regression.
This update fixes the problem.

We apologize for the inconvenience.

Original advisory details:

It was discovered that tar incorrectly handled certain crafted archive files.
An attacker could possibly use this to inject hidden files with
attacker-controlled content, bypassing pre-extraction inspection mechanisms.

Fixed packages 7

ReleasePackageFixed in
Ubuntu · 22.04 LTS 22.04:LTS tar 1.34+dfsg-1ubuntu0.1.22.04.6
Ubuntu · 24.04 LTS 24.04:LTS tar 1.35+dfsg-3ubuntu0.4
Ubuntu · 26.04 LTS 26.04:LTS tar 1.35+dfsg-4ubuntu0.4
Ubuntu · Pro 14.04 LTS Pro:14.04:LTS tar 1.27.1-1ubuntu0.1+esm7
Ubuntu · Pro 16.04 LTS Pro:16.04:LTS tar 1.28-2.1ubuntu0.2+esm6
Ubuntu · Pro 18.04 LTS Pro:18.04:LTS tar 1.29b-2ubuntu0.4+esm4
Ubuntu · Pro 20.04 LTS Pro:20.04:LTS tar 1.30+dfsg-7ubuntu0.20.04.4+esm3

Vulnerabilities 1

References

  • report
    https://ubuntu.com/security/CVE-2026-5704
  • report
    https://launchpad.net/bugs/2161311