CVE-2016-6321
Directory traversal vulnerability in the safer_name_suffix function in GNU tar 1.14 through 1.29 might allow remote attackers to bypass an intended protection mechanism and write to arbitrary files
02 Description
Directory traversal vulnerability in the safer_name_suffix function in GNU tar 1.14 through 1.29 might allow remote attackers to bypass an intended protection mechanism and write to arbitrary files
03 Exploitation and scoring
- Exploitation
- Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
- SSVC decision
- ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
- AutomatableyesAn attacker can reliably automate reconnaissance through exploitation, so this scales.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 15.74% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 96.7% of scored records. A rank, not a probability.
- NVD base score
- 7.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2016-12-09 22:00Z9 YR AGO
- Last updated
- 2025-08-06 21:12Z1 YR AGO
- Reserved
- 2016-07-26
- Assigning CNA
- redhat
- Record state
- PUBLISHED
- Severity
- High (CVSS 7.5)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Weaknesses
- CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')Base
- Data version
- 5.1
- Document digest
- 40f1c8cbf320b8f03f02be1160c3aad134c61a19da1b57f86093033bceff0b54
05 Affected products
06 References
- seclists.org20161030 [CSS] POINTYFEATHER / tar extract pathname bypass (CVE-2016-6321) - patch updatehttp://seclists.org/fulldisclosure/2016/Oct/102
- www.securityfocus.com93937http://www.securityfocus.com/bid/93937
- security.gentoo.orgGLSA-201611-19https://security.gentoo.org/glsa/201611-19
- seclists.org20161026 [CSS] POINTYFEATHER / tar extract pathname bypass (CVE-2016-6321)http://seclists.org/fulldisclosure/2016/Oct/96
- git.savannah.gnu.orghttp://git.savannah.gnu.org/cgit/tar.git/commit/?id=7340f67b9860ea0531c1450e5aa261c50f67165d
- lists.gnu.org[bug-tar] 20161029 Re: [Bug-tar] possible fixes for CVE-2016-6321http://lists.gnu.org/archive/html/bug-tar/2016-10/msg00016.html
- www.debian.orgDSA-3702http://www.debian.org/security/2016/dsa-3702
- sintonen.fihttps://sintonen.fi/advisories/tar-extract-pathname-bypass.proper.txt
- packetstormsecurity.comhttp://packetstormsecurity.com/files/139370/GNU-tar-1.29-Extract-Pathname-Bypass.html
- www.ubuntu.comUSN-3132-1http://www.ubuntu.com/usn/USN-3132-1
- lists.apache.org[bookkeeper-issues] 20210628 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
- lists.apache.org[bookkeeper-issues] 20210629 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E
07 Fixed in
Arch Linux
- tar Fixed in 1.29-2
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
Debian 12
- tar Fixed in 1.29b-1.1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- tar Fixed in 1.29b-1.1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- tar Fixed in 1.29b-1.1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 14.04 LTS
- tar Fixed in 1.27.1-1ubuntu0.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- tar Fixed in 1.28-2.1ubuntu0.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.