CVE-2016-6321
Directory traversal vulnerability in the safer_name_suffix function in GNU tar 1.14 through 1.29...
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 via vectors related to improper sanitization of the file_name parameter, aka POINTYFEATHER.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
CVE List
7.5
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 via vectors related to improper sanitization of the file_name parameter, aka POINTYFEATHER.
- Record
CVE-2016-6321- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-22
- Updated
- 2026-11-02
EUVDEUVD-2016-7248
7.5
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 via vectors related to improper sanitization of the file_name parameter, aka POINTYFEATHER.
- Record
EUVD-2016-7248- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-4qpm-74c6-fg44
7.5
Directory traversal vulnerability in the safer_name_suffix function in GNU tar 1.14 through 1.29...
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 via vectors related to improper sanitization of the file_name parameter, aka POINTYFEATHER.
- Record
GHSA-4qpm-74c6-fg44- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-22
- Updated
- 2026-11-02
NVD
7.5
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 via vectors related to improper sanitization of the file_name parameter, aka POINTYFEATHER.
- Record
CVE-2016-6321- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:P/A:N - Weakness
- CWE-22
- Updated
- 2026-11-02
OSVALPINE-CVE-2016-6321
7.5
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 via vectors related to improper sanitization of the file_name parameter, aka POINTYFEATHER.
- Record
ALPINE-CVE-2016-6321- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVBELL-CVE-2016-6321
7.5
CVE-2016-6321 does not affect BellSoft software
- Record
BELL-CVE-2016-6321- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
Show 8 moreShow less
OSV
7.5
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 via vectors related to improper sanitization of the file_name parameter, aka POINTYFEATHER.
- Record
CVE-2016-6321- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVDEBIAN-CVE-2016-6321
7.5
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 via vectors related to improper sanitization of the file_name parameter, aka POINTYFEATHER.
- Record
DEBIAN-CVE-2016-6321- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVUBUNTU-CVE-2016-6321
7.5
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 via vectors related to improper sanitization of the file_name parameter, aka POINTYFEATHER.
- Record
UBUNTU-CVE-2016-6321- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVMGASA-2016-0386 No score
Updated tar packages fix security vulnerability
Harry Sintonen discovered that GNU tar does not properly handle member names containing '..', thus allowing an attacker to bypass the path names specified on the command line and replace files and directories in the target directory (CVE-2016-6321).
- Record
MGASA-2016-0386- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10382-1 No score
tar-1.29-2.1 on GA media
These are all security issues fixed in the tar-1.29-2.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10382-1- Updated
- 2026-11-02
OSVSUSE-SU-2016:2895-1 No score
Security update for tar
This update for tar fixes the following issues:
- Fix the POINTYFEATHER vulnerability - GNU tar archiver can be tricked into extracting files and directories in the given destination, regardless of the path name(s) specified on the command line [bsc#1007188] [CVE-2016-6321]
- Record
SUSE-SU-2016:2895-1- Updated
- 2026-11-02
OSVSUSE-SU-2016:2896-1 No score
Security update for tar
This update for tar fixes the following issues:
- Fix the POINTYFEATHER vulnerability - GNU tar archiver can be tricked into extracting files and directories in the given destination, regardless of the path name(s) specified on the command line [bsc#1007188] [CVE-2016-6321]
- Fix Amanda integration issue (bsc#913058)
- Record
SUSE-SU-2016:2896-1- Updated
- 2026-11-02
OSVUSN-3132-1 No score
tar vulnerability
Harry Sintonen discovered that tar incorrectly handled extracting files when path names are specified on the command line. If a user or automated system were tricked into processing a specially crafted archive, an attacker could possibly overwrite arbitrary files.
- Record
USN-3132-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
tarAlpine:v3.10 |
before 1.29-r1 | 1.29-r1 |
tarAlpine:v3.11 |
before 1.29-r1 | 1.29-r1 |
tarAlpine:v3.12 |
before 1.29-r1 | 1.29-r1 |
tarAlpine:v3.13 |
before 1.29-r1 | 1.29-r1 |
tarAlpine:v3.14 |
before 1.29-r1 | 1.29-r1 |
tarAlpine:v3.15 |
before 1.29-r1 | 1.29-r1 |
tarAlpine:v3.16 |
before 1.29-r1 | 1.29-r1 |
tarAlpine:v3.17 |
before 1.29-r1 | 1.29-r1 |
tarAlpine:v3.18 |
before 1.29-r1 | 1.29-r1 |
tarAlpine:v3.19 |
before 1.29-r1 | 1.29-r1 |
Show 29 moreShow less
| Package | Affected | Fixed |
|---|---|---|
tarAlpine:v3.20 |
before 1.29-r1 | 1.29-r1 |
tarAlpine:v3.21 |
before 1.29-r1 | 1.29-r1 |
tarAlpine:v3.22 |
before 1.29-r1 | 1.29-r1 |
tarAlpine:v3.23 |
before 1.29-r1 | 1.29-r1 |
tarAlpine:v3.24 |
before 1.29-r1 | 1.29-r1 |
tarAlpine:v3.4 |
before 1.29-r1 | 1.29-r1 |
tarAlpine:v3.5 |
before 1.29-r1 | 1.29-r1 |
tarAlpine:v3.6 |
before 1.29-r1 | 1.29-r1 |
tarAlpine:v3.7 |
before 1.29-r1 | 1.29-r1 |
tarAlpine:v3.8 |
before 1.29-r1 | 1.29-r1 |
tarAlpine:v3.9 |
before 1.29-r1 | 1.29-r1 |
tarDebian:12 |
before 1.29b-1.1 | 1.29b-1.1 |
tarDebian:13 |
before 1.29b-1.1 | 1.29b-1.1 |
tarDebian:14 |
before 1.29b-1.1 | 1.29b-1.1 |
tarDebian:7 |
before 1.26+dfsg-0.1+deb7u1, plus listed versions 1.26+dfsg-0.1 |
1.26+dfsg-0.1+deb7u1 |
tarDebian:8 |
before 1.27.1-2+deb8u1, plus listed versions 1.27.1-2 |
1.27.1-2+deb8u1 |
tarMageia:5 |
before 1.28-3.1.mga5 | 1.28-3.1.mga5 |
tarSUSE:Linux Enterprise Server 11 SP4 |
before 1.26-1.2.10.1 | 1.26-1.2.10.1 |
tarSUSE:Linux Enterprise Server for SAP Applications 11 SP4 |
before 1.26-1.2.10.1 | 1.26-1.2.10.1 |
tarSUSE:Linux Enterprise Desktop 12 SP1 |
before 1.27.1-11.1 | 1.27.1-11.1 |
tarSUSE:Linux Enterprise Desktop 12 SP2 |
before 1.27.1-11.1 | 1.27.1-11.1 |
tarSUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 |
before 1.27.1-11.1 | 1.27.1-11.1 |
tarSUSE:Linux Enterprise Server 12 SP1 |
before 1.27.1-11.1 | 1.27.1-11.1 |
tarSUSE:Linux Enterprise Server for SAP Applications 12 SP1 |
before 1.27.1-11.1 | 1.27.1-11.1 |
tarSUSE:Linux Enterprise Server 12 SP2 |
before 1.27.1-11.1 | 1.27.1-11.1 |
tarSUSE:Linux Enterprise Server for SAP Applications 12 SP2 |
before 1.27.1-11.1 | 1.27.1-11.1 |
tarUbuntu:14.04:LTS |
before 1.27.1-1ubuntu0.1, plus listed versions 1.26+dfsg-81.27-31.27-41.27.1-1 |
1.27.1-1ubuntu0.1 |
tarUbuntu:16.04:LTS |
before 1.28-2.1ubuntu0.1, plus listed versions 1.27.1-21.28-2ubuntu11.28-2.1 |
1.28-2.1ubuntu0.1 |
taropenSUSE:Tumbleweed From an advisory covering 2 CVEs |
before 1.29-2.1 | 1.29-2.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2016-6321 is a high vulnerability (CVSS 7.5) in Gnu Tar, published October 28, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 15.7%, the 96th percentile. Fixed in tar 1.29-r1.
References
seclists.org/fulldisclosure/2016/Oct/102
securityfocus.com/bid/93937
security.gentoo.org/glsa/201611-19
seclists.org/fulldisclosure/2016/Oct/96
git.savannah.gnu.org/cgit/tar.git/commit?id=7340f67b9860ea0531c1450e5aa261c50f67165d
lists.gnu.org/archive/html/bug-tar/2016-10/msg00016.html
Show 25 moreShow less
debian.org/security/2016/dsa-3702
sintonen.fi/advisories/tar-extract-pathname-bypass.proper.txt
packetstormsecurity.com/files/139370/GNU-tar-1.29-Extract-Pathname-Bypass.html
ubuntu.com/usn/USN-3132-1
lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E
nvd.nist.gov/vuln/detail/CVE-2016-6321
lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b@%3Cissues.bookkeeper.apache.org%3E
lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4@%3Cissues.bookkeeper.apache.org%3E
github.com/advisories/GHSA-4qpm-74c6-fg44
security.alpinelinux.org/vuln/CVE-2016-6321
docs.bell-sw.com/security/cves/CVE-2016-6321
security-tracker.debian.org/tracker/CVE-2016-6321
advisories.mageia.org/MGASA-2016-0386.html
bugs.mageia.org/show_bug.cgi?id=19696
suse.com/support/update/announcement/2016/suse-su-20162895-1
bugzilla.suse.com/1007188
suse.com/security/cve/CVE-2016-6321
suse.com/support/update/announcement/2016/suse-su-20162896-1
bugzilla.suse.com/913058
ubuntu.com/security/CVE-2016-6321
sintonen.fi/advisories/tar-extract-pathname-bypass.txt
ubuntu.com/security/notices/USN-3132-1
cve.org/CVERecord?id=CVE-2016-6321
suse.com/security/cve/CVE-2010-0624