Audit Linux privileges now to limit compromise, escalation, and system-wide damage. Review Linux Privileges×
USN-8477-1 introduced a regression in tar
Software Description:
- tar: GNU tar archive utility
Details:
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.
The problem can be corrected by updating your system to the following
package versions:
Ubuntu 26.04 LTS
tar 1.35+dfsg-4ubuntu0.4
Ubuntu 24.04 LTS
tar 1.35+dfsg-3ubuntu0.4
Ubuntu 22.04 LTS
tar 1.34+dfsg-1ubuntu0.1.22.04.6
Ubuntu 20.04 LTS
tar 1.30+dfsg-7ubuntu0.20.04.4+esm3
Available with Ubuntu Pro
Ubuntu 18.04 LTS
tar 1.29b-2ubuntu0.4+esm4
Available with Ubuntu Pro
Ubuntu 16.04 LTS
tar 1.28-2.1ubuntu0.2+esm6
Available with Ubuntu Pro
Ubuntu 14.04 LTS
tar 1.27.1-1ubuntu0.1+esm7
Available with Ubuntu Pro
In general, a standard system update will make all the necessary changes.https://ubuntu.com/security/notices/USN-8477-3
https://ubuntu.com/security/notices/USN-8477-2
https://ubuntu.com/security/notices/USN-8477-1
CVE-2026-5704, https://launchpad.net/bugs/2161311
Get the latest Linux and open source security news straight to your inbox.