{"id":"USN-8477-3","aliases":[],"summary":"tar regression","published_at":"2026-07-22T15:03:31Z","modified_at":"2026-07-22T20:59:36.42047Z","products":[],"rating":{"severity":"unknown","attack_path":"unknown","user_interaction":false,"malicious":false},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"priority":3,"details":"USN-8477-1 fixed a vulnerability in tar. That fix was incomplete and could\ncause tar to fail to extract old archives that recorded a nonzero size for\ndirectory entries, resulting in a regression.\nThis update fixes the problem.\n\nWe apologize for the inconvenience.\n\nOriginal advisory details:\n\n It was discovered that tar incorrectly handled certain crafted archive files.\n An attacker could possibly use this to inject hidden files with\n attacker-controlled content, bypassing pre-extraction inspection mechanisms.","affected_stack":[],"affected_other":[{"ecosystem":"Ubuntu:22.04:LTS","package":"tar","purl":"pkg:deb/ubuntu/tar?arch=source&distro=jammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.34+dfsg-1ubuntu0.1.22.04.6"}]}],"versions":["1.34+dfsg-1build1","1.34+dfsg-1build2","1.34+dfsg-1build3","1.34+dfsg-1ubuntu0.1.22.04.1","1.34+dfsg-1ubuntu0.1.22.04.2","1.34+dfsg-1ubuntu0.1.22.04.3","1.34+dfsg-1ubuntu0.1.22.04.4","1.34+dfsg-1ubuntu0.1.22.04.5"],"fixed":["1.34+dfsg-1ubuntu0.1.22.04.6"],"provider":"osv","source":"USN-8477-3","relation":"self"},{"ecosystem":"Ubuntu:24.04:LTS","package":"tar","purl":"pkg:deb/ubuntu/tar?arch=source&distro=noble","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.35+dfsg-3ubuntu0.4"}]}],"versions":["1.34+dfsg-1.2ubuntu1","1.34+dfsg-1.2ubuntu2","1.34+dfsg-1.3ubuntu1","1.34+dfsg-1.4","1.35+dfsg-2~build1","1.35+dfsg-2","1.35+dfsg-3","1.35+dfsg-3build1","1.35+dfsg-3ubuntu0.1","1.35+dfsg-3ubuntu0.2","1.35+dfsg-3ubuntu0.3"],"fixed":["1.35+dfsg-3ubuntu0.4"],"provider":"osv","source":"USN-8477-3","relation":"self"},{"ecosystem":"Ubuntu:26.04:LTS","package":"tar","purl":"pkg:deb/ubuntu/tar?arch=source&distro=resolute","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.35+dfsg-4ubuntu0.4"}]}],"versions":["1.35+dfsg-3.1build1","1.35+dfsg-3.1build2","1.35+dfsg-4","1.35+dfsg-4ubuntu0.1","1.35+dfsg-4ubuntu0.2","1.35+dfsg-4ubuntu0.3"],"fixed":["1.35+dfsg-4ubuntu0.4"],"provider":"osv","source":"USN-8477-3","relation":"self"},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"tar","purl":"pkg:deb/ubuntu/tar?arch=source&distro=esm-infra-legacy%2Ftrusty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.27.1-1ubuntu0.1+esm7"}]}],"versions":["1.26+dfsg-8","1.27-3","1.27-4","1.27.1-1","1.27.1-1ubuntu0.1","1.27.1-1ubuntu0.1+esm1","1.27.1-1ubuntu0.1+esm2","1.27.1-1ubuntu0.1+esm3","1.27.1-1ubuntu0.1+esm4","1.27.1-1ubuntu0.1+esm5","1.27.1-1ubuntu0.1+esm6"],"fixed":["1.27.1-1ubuntu0.1+esm7"],"provider":"osv","source":"USN-8477-3","relation":"self"},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"tar","purl":"pkg:deb/ubuntu/tar?arch=source&distro=esm-infra-legacy%2Fxenial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.28-2.1ubuntu0.2+esm6"}]}],"versions":["1.27.1-2","1.28-2ubuntu1","1.28-2.1","1.28-2.1ubuntu0.1","1.28-2.1ubuntu0.2","1.28-2.1ubuntu0.2+esm1","1.28-2.1ubuntu0.2+esm2","1.28-2.1ubuntu0.2+esm3","1.28-2.1ubuntu0.2+esm4","1.28-2.1ubuntu0.2+esm5"],"fixed":["1.28-2.1ubuntu0.2+esm6"],"provider":"osv","source":"USN-8477-3","relation":"self"},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"tar","purl":"pkg:deb/ubuntu/tar?arch=source&distro=esm-infra%2Fbionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.29b-2ubuntu0.4+esm4"}]}],"versions":["1.29b-2","1.29b-2ubuntu0.1","1.29b-2ubuntu0.2","1.29b-2ubuntu0.3","1.29b-2ubuntu0.4","1.29b-2ubuntu0.4+esm1","1.29b-2ubuntu0.4+esm2","1.29b-2ubuntu0.4+esm3"],"fixed":["1.29b-2ubuntu0.4+esm4"],"provider":"osv","source":"USN-8477-3","relation":"self"},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"tar","purl":"pkg:deb/ubuntu/tar?arch=source&distro=esm-infra%2Ffocal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.30+dfsg-7ubuntu0.20.04.4+esm3"}]}],"versions":["1.30+dfsg-6","1.30+dfsg-7","1.30+dfsg-7ubuntu0.20.04.1","1.30+dfsg-7ubuntu0.20.04.2","1.30+dfsg-7ubuntu0.20.04.3","1.30+dfsg-7ubuntu0.20.04.4","1.30+dfsg-7ubuntu0.20.04.4+esm1","1.30+dfsg-7ubuntu0.20.04.4+esm2"],"fixed":["1.30+dfsg-7ubuntu0.20.04.4+esm3"],"provider":"osv","source":"USN-8477-3","relation":"self"}],"product_status":[],"records":[{"provider":"osv","source_id":"USN-8477-3","relation":"self","url":"https://osv.dev/vulnerability/USN-8477-3","license":"CC-BY-SA-4.0","published_at":"2026-07-22T15:03:31Z","modified_at":"2026-07-22T20:59:36.42047Z","summary":"tar regression","details":"USN-8477-1 fixed a vulnerability in tar. That fix was incomplete and could\ncause tar to fail to extract old archives that recorded a nonzero size for\ndirectory entries, resulting in a regression.\nThis update fixes the problem.\n\nWe apologize for the inconvenience.\n\nOriginal advisory details:\n\n It was discovered that tar incorrectly handled certain crafted archive files.\n An attacker could possibly use this to inject hidden files with\n attacker-controlled content, bypassing pre-extraction inspection mechanisms.","severity":[],"affected":[{"ecosystem":"Ubuntu:22.04:LTS","package":"tar","purl":"pkg:deb/ubuntu/tar?arch=source&distro=jammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.34+dfsg-1ubuntu0.1.22.04.6"}]}],"versions":["1.34+dfsg-1build1","1.34+dfsg-1build2","1.34+dfsg-1build3","1.34+dfsg-1ubuntu0.1.22.04.1","1.34+dfsg-1ubuntu0.1.22.04.2","1.34+dfsg-1ubuntu0.1.22.04.3","1.34+dfsg-1ubuntu0.1.22.04.4","1.34+dfsg-1ubuntu0.1.22.04.5"],"fixed":["1.34+dfsg-1ubuntu0.1.22.04.6"],"provider":"osv","source":"USN-8477-3","relation":"self"},{"ecosystem":"Ubuntu:24.04:LTS","package":"tar","purl":"pkg:deb/ubuntu/tar?arch=source&distro=noble","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.35+dfsg-3ubuntu0.4"}]}],"versions":["1.34+dfsg-1.2ubuntu1","1.34+dfsg-1.2ubuntu2","1.34+dfsg-1.3ubuntu1","1.34+dfsg-1.4","1.35+dfsg-2~build1","1.35+dfsg-2","1.35+dfsg-3","1.35+dfsg-3build1","1.35+dfsg-3ubuntu0.1","1.35+dfsg-3ubuntu0.2","1.35+dfsg-3ubuntu0.3"],"fixed":["1.35+dfsg-3ubuntu0.4"],"provider":"osv","source":"USN-8477-3","relation":"self"},{"ecosystem":"Ubuntu:26.04:LTS","package":"tar","purl":"pkg:deb/ubuntu/tar?arch=source&distro=resolute","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.35+dfsg-4ubuntu0.4"}]}],"versions":["1.35+dfsg-3.1build1","1.35+dfsg-3.1build2","1.35+dfsg-4","1.35+dfsg-4ubuntu0.1","1.35+dfsg-4ubuntu0.2","1.35+dfsg-4ubuntu0.3"],"fixed":["1.35+dfsg-4ubuntu0.4"],"provider":"osv","source":"USN-8477-3","relation":"self"},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"tar","purl":"pkg:deb/ubuntu/tar?arch=source&distro=esm-infra-legacy%2Ftrusty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.27.1-1ubuntu0.1+esm7"}]}],"versions":["1.26+dfsg-8","1.27-3","1.27-4","1.27.1-1","1.27.1-1ubuntu0.1","1.27.1-1ubuntu0.1+esm1","1.27.1-1ubuntu0.1+esm2","1.27.1-1ubuntu0.1+esm3","1.27.1-1ubuntu0.1+esm4","1.27.1-1ubuntu0.1+esm5","1.27.1-1ubuntu0.1+esm6"],"fixed":["1.27.1-1ubuntu0.1+esm7"],"provider":"osv","source":"USN-8477-3","relation":"self"},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"tar","purl":"pkg:deb/ubuntu/tar?arch=source&distro=esm-infra-legacy%2Fxenial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.28-2.1ubuntu0.2+esm6"}]}],"versions":["1.27.1-2","1.28-2ubuntu1","1.28-2.1","1.28-2.1ubuntu0.1","1.28-2.1ubuntu0.2","1.28-2.1ubuntu0.2+esm1","1.28-2.1ubuntu0.2+esm2","1.28-2.1ubuntu0.2+esm3","1.28-2.1ubuntu0.2+esm4","1.28-2.1ubuntu0.2+esm5"],"fixed":["1.28-2.1ubuntu0.2+esm6"],"provider":"osv","source":"USN-8477-3","relation":"self"},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"tar","purl":"pkg:deb/ubuntu/tar?arch=source&distro=esm-infra%2Fbionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.29b-2ubuntu0.4+esm4"}]}],"versions":["1.29b-2","1.29b-2ubuntu0.1","1.29b-2ubuntu0.2","1.29b-2ubuntu0.3","1.29b-2ubuntu0.4","1.29b-2ubuntu0.4+esm1","1.29b-2ubuntu0.4+esm2","1.29b-2ubuntu0.4+esm3"],"fixed":["1.29b-2ubuntu0.4+esm4"],"provider":"osv","source":"USN-8477-3","relation":"self"},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"tar","purl":"pkg:deb/ubuntu/tar?arch=source&distro=esm-infra%2Ffocal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.30+dfsg-7ubuntu0.20.04.4+esm3"}]}],"versions":["1.30+dfsg-6","1.30+dfsg-7","1.30+dfsg-7ubuntu0.20.04.1","1.30+dfsg-7ubuntu0.20.04.2","1.30+dfsg-7ubuntu0.20.04.3","1.30+dfsg-7ubuntu0.20.04.4","1.30+dfsg-7ubuntu0.20.04.4+esm1","1.30+dfsg-7ubuntu0.20.04.4+esm2"],"fixed":["1.30+dfsg-7ubuntu0.20.04.4+esm3"],"provider":"osv","source":"USN-8477-3","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8477-3"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-5704"},{"type":"REPORT","url":"https://launchpad.net/bugs/2161311"}]}],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8477-3"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-5704"},{"type":"REPORT","url":"https://launchpad.net/bugs/2161311"}],"sources":[{"provider":"osv","source_id":"USN-8477-3","url":"https://osv.dev/vulnerability/USN-8477-3","license":"CC-BY-SA-4.0","modified_at":"2026-07-22T20:59:36.42047Z","relation":"self"}]}
