CVE-2015-2304
Absolute path traversal vulnerability in bsdcpio in libarchive 3.1.2 and earlier allows remote...
Absolute path traversal vulnerability in bsdcpio in libarchive 3.1.2 and earlier allows remote attackers to write to arbitrary files via a full pathname in an archive.
Exploit likelihood
What each source reports
NVD Score used
6.4
Absolute path traversal vulnerability in bsdcpio in libarchive 3.1.2 and earlier allows remote attackers to write to arbitrary files via a full pathname in an archive.
- Record
CVE-2015-2304- CVSS 2.0
- 6.4 Medium
AV:N/AC:L/Au:N/C:N/I:P/A:P - Weakness
- CWE-22
- Updated
- 2026-11-02
CVE List No score
Absolute path traversal vulnerability in bsdcpio in libarchive 3.1.2 and earlier allows remote attackers to write to arbitrary files via a full pathname in an archive.
- Record
CVE-2015-2304- Updated
- 2026-11-02
EUVDEUVD-2015-2401 No score
Absolute path traversal vulnerability in bsdcpio in libarchive 3.1.2 and earlier allows remote attackers to write to arbitrary files via a full pathname in an archive.
- Record
EUVD-2015-2401- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-fg4c-3cxq-4rf3 No score
Absolute path traversal vulnerability in bsdcpio in libarchive 3.1.2 and earlier allows remote...
Absolute path traversal vulnerability in bsdcpio in libarchive 3.1.2 and earlier allows remote attackers to write to arbitrary files via a full pathname in an archive.
- Record
GHSA-fg4c-3cxq-4rf3- Weakness
- CWE-22
- Updated
- 2026-11-02
OSVBELL-CVE-2015-2304
6.4
CVE-2015-2304 does not affect BellSoft software
- Record
BELL-CVE-2015-2304- CVSS 2.0
- 6.4 Medium
AV:N/AC:L/Au:N/C:N/I:P/A:P - Updated
- 2026-11-02
OSV No score
Absolute path traversal vulnerability in bsdcpio in libarchive 3.1.2 and earlier allows remote attackers to write to arbitrary files via a full pathname in an archive.
- Record
CVE-2015-2304- Updated
- 2026-11-02
Show 7 moreShow less
OSVDEBIAN-CVE-2015-2304 No score
Absolute path traversal vulnerability in bsdcpio in libarchive 3.1.2 and earlier allows remote attackers to write to arbitrary files via a full pathname in an archive.
- Record
DEBIAN-CVE-2015-2304- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10127-1 No score
bsdtar-3.2.2-2.1 on GA media
These are all security issues fixed in the bsdtar-3.2.2-2.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10127-1- Updated
- 2026-11-02
OSVSUSE-SU-2015:0667-1 No score
Security update for libarchive
libarchive was updated to fix a directory traversal in the bsdcpio tool, which allowed attackers supplying crafted archives to overwrite files. (CVE-2015-2304)
Also, a integer overflow was fixed that could also overflow buffers. (CVE-2013-0211)
- Record
SUSE-SU-2015:0667-1- Updated
- 2026-11-02
OSVSUSE-SU-2016:1939-1 No score
Security update for bsdtar
bsdtar was updated to fix seven security issues.
These security issues were fixed:
- CVE-2015-8929: Memory leak in tar parser (bsc#985669).
- CVE-2016-4809: Memory allocate error with symbolic links in cpio archives (bsc#984990).
- CVE-2015-8920: Stack out of bounds read in ar parser (bsc#985675).
- CVE-2015-8921: Global out of bounds read in mtree parser (bsc#985682).
- CVE-2015-8924: Heap buffer read overflow in tar (bsc#985609).
- CVE-2015-8918: Overlapping memcpy in CAB parser (bsc#985698).
- CVE-2015-2304: Reject absolute paths in input mode of bsdcpio exactly when '..' is rejected (bsc#920870).
- Record
SUSE-SU-2016:1939-1- Updated
- 2026-11-02
OSVSUSE-SU-2016:2911-1 No score
Security update for libarchive
This update for libarchive fixes several issues.
These security issues were fixed:
- CVE-2016-8687: Buffer overflow when printing a filename (bsc#1005070).
- CVE-2016-8689: Heap overflow when reading corrupted 7Zip files (bsc#1005072).
- CVE-2016-8688: Use after free because of incorrect calculation in next_line (bsc#1005076).
- CVE-2016-5844: Integer overflow in the ISO parser in libarchive allowed remote attackers to cause a denial of service (application crash) via a crafted ISO file (bsc#986566).
- CVE-2016-6250: Integer overflow in the ISO9660 writer in libarchive allowed remote attackers to cause a denial of service (application crash) or execute arbitrary code via vectors related to verifying filename lengths when writing an ISO9660 archive, which trigger a buffer overflow (bsc#989980).
- CVE-2016-5418: The sandboxing code in libarchive mishandled hardlink archive entries of non-zero data size, which might allowed remote attackers to write to arbitrary files via a crafted archive file (bsc#998677).
- Record
SUSE-SU-2016:2911-1- Updated
- 2026-11-02
OSVUBUNTU-CVE-2015-2304 No score
Absolute path traversal vulnerability in bsdcpio in libarchive 3.1.2 and earlier allows remote attackers to write to arbitrary files via a full pathname in an archive.
- Record
UBUNTU-CVE-2015-2304- Updated
- 2026-11-02
OSVUSN-2549-1 No score
libarchive vulnerabilities
It was discovered that the libarchive bsdcpio utility extracted absolute paths by default without using the --insecure flag, contrary to expectations. If a user or automated system were tricked into extracting cpio archives containing absolute paths, a remote attacker may be able to write to arbitrary files. (CVE-2015-2304)
Fabian Yamaguchi discovered that libarchive incorrectly handled certain type conversions. A remote attacker could possibly use this issue to cause libarchive to crash, resulting in a denial of service. This issue only affected Ubuntu 12.04 LTS. (CVE-2013-0211)
- Record
USN-2549-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libarchiveDebian:12 |
before 3.1.2-11 | 3.1.2-11 |
libarchiveDebian:13 |
before 3.1.2-11 | 3.1.2-11 |
libarchiveDebian:14 |
before 3.1.2-11 | 3.1.2-11 |
libarchiveDebian:6.0 |
before 2.8.4.forreal-1+squeeze3, plus listed versions 2.8.4-12.8.4-1+squeeze12.8.4-22.8.4.forreal-1+squeeze2 |
2.8.4.forreal-1+squeeze3 |
libarchiveDebian:7 |
before 3.0.4-3+wheezy1, plus listed versions 3.0.4-3+nmu1 |
3.0.4-3+wheezy1 |
libarchiveSUSE:Linux Enterprise Desktop 12 From an advisory covering 2 CVEs |
before 3.1.2-9.1 | 3.1.2-9.1 |
libarchiveSUSE:Linux Enterprise Software Development Kit 12 From an advisory covering 2 CVEs |
before 3.1.2-9.1 | 3.1.2-9.1 |
libarchiveSUSE:Linux Enterprise Server 12 From an advisory covering 2 CVEs |
before 3.1.2-9.1 | 3.1.2-9.1 |
libarchiveSUSE:Linux Enterprise Server for SAP Applications 12 From an advisory covering 2 CVEs |
before 3.1.2-9.1 | 3.1.2-9.1 |
bsdtarSUSE:Linux Enterprise Software Development Kit 11 SP4 From an advisory covering 7 CVEs |
before 2.5.5-9.1 | 2.5.5-9.1 |
Show 22 moreShow less
| Package | Affected | Fixed |
|---|---|---|
bsdtarSUSE:OpenStack Cloud 5 From an advisory covering 7 CVEs |
before 2.5.5-9.1 | 2.5.5-9.1 |
bsdtarSUSE:Manager 2.1 From an advisory covering 7 CVEs |
before 2.5.5-9.1 | 2.5.5-9.1 |
bsdtarSUSE:Manager Proxy 2.1 From an advisory covering 7 CVEs |
before 2.5.5-9.1 | 2.5.5-9.1 |
bsdtarSUSE:Linux Enterprise Point of Sale 11 SP3 From an advisory covering 7 CVEs |
before 2.5.5-9.1 | 2.5.5-9.1 |
bsdtarSUSE:Linux Enterprise Server 11 SP2-LTSS From an advisory covering 7 CVEs |
before 2.5.5-9.1 | 2.5.5-9.1 |
bsdtarSUSE:Linux Enterprise Server 11 SP3-LTSS From an advisory covering 7 CVEs |
before 2.5.5-9.1 | 2.5.5-9.1 |
bsdtarSUSE:Linux Enterprise Server 11 SP3-TERADATA From an advisory covering 7 CVEs |
before 2.5.5-9.1 | 2.5.5-9.1 |
bsdtarSUSE:Linux Enterprise Server 11 SP4 From an advisory covering 7 CVEs |
before 2.5.5-9.1 | 2.5.5-9.1 |
bsdtarSUSE:Linux Enterprise Server for SAP Applications 11 SP4 From an advisory covering 7 CVEs |
before 2.5.5-9.1 | 2.5.5-9.1 |
bsdtarSUSE:Studio Onsite 1.3 From an advisory covering 7 CVEs |
before 2.5.5-9.1 | 2.5.5-9.1 |
libarchiveSUSE:Linux Enterprise Desktop 12 SP1 From an advisory covering 7 CVEs |
before 3.1.2-25.1 | 3.1.2-25.1 |
libarchiveSUSE:Linux Enterprise Desktop 12 SP2 From an advisory covering 7 CVEs |
before 3.1.2-25.1 | 3.1.2-25.1 |
libarchiveSUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 From an advisory covering 7 CVEs |
before 3.1.2-25.1 | 3.1.2-25.1 |
libarchiveSUSE:Linux Enterprise Software Development Kit 12 SP1 From an advisory covering 7 CVEs |
before 3.1.2-25.1 | 3.1.2-25.1 |
libarchiveSUSE:Linux Enterprise Software Development Kit 12 SP2 From an advisory covering 7 CVEs |
before 3.1.2-25.1 | 3.1.2-25.1 |
libarchiveSUSE:Linux Enterprise Server 12 SP1 From an advisory covering 7 CVEs |
before 3.1.2-25.1 | 3.1.2-25.1 |
libarchiveSUSE:Linux Enterprise Server for SAP Applications 12 SP1 From an advisory covering 7 CVEs |
before 3.1.2-25.1 | 3.1.2-25.1 |
libarchiveSUSE:Linux Enterprise Server 12 SP2 From an advisory covering 7 CVEs |
before 3.1.2-25.1 | 3.1.2-25.1 |
libarchiveSUSE:Linux Enterprise Server for SAP Applications 12 SP2 From an advisory covering 7 CVEs |
before 3.1.2-25.1 | 3.1.2-25.1 |
libarchiveUbuntu:14.04:LTS |
before 3.1.2-7ubuntu2.1, plus listed versions 3.1.2-5ubuntu13.1.2-7ubuntu13.1.2-7ubuntu2 |
3.1.2-7ubuntu2.1 |
libarchiveUbuntu:14.04:LTS From an advisory covering 2 CVEs |
before 3.1.2-7ubuntu2.1, plus listed versions 3.1.2-5ubuntu13.1.2-7ubuntu13.1.2-7ubuntu2 |
3.1.2-7ubuntu2.1 |
bsdtaropenSUSE:Tumbleweed From an advisory covering 16 CVEs |
before 3.2.2-2.1 | 3.2.2-2.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2015-2304 is a medium vulnerability (CVSS 6.4) in Libarchive, published March 5, 2015. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.93%, the 92nd percentile. Fixed in libarchive 3.1.2-11.
References
securitytracker.com/id/1035996
advisories.mageia.org/MGASA-2015-0106.html
github.com/libarchive/libarchive/commit/59357157706d47c365b2227739e17daba3607526
lists.opensuse.org/opensuse-updates/2015-03/msg00065.html
github.com/libarchive/libarchive/pull/110
freebsd.org/security/advisories/FreeBSD-SA-16:22.libarchive.asc
Show 53 moreShow less
openwall.com/lists/oss-security/2015/01/16/7
debian.org/security/2015/dsa-3180
ubuntu.com/usn/USN-2549-1
groups.google.com/forum
security.gentoo.org/glsa/201701-03
mandriva.com/security/advisories?name=MDVSA-2015:157
openwall.com/lists/oss-security/2015/01/07/5
nvd.nist.gov/vuln/detail/CVE-2015-2304
github.com/advisories/GHSA-fg4c-3cxq-4rf3
docs.bell-sw.com/security/cves/CVE-2015-2304
security-tracker.debian.org/tracker/CVE-2015-2304
suse.com/support/update/announcement/2015/suse-su-20150667-1
bugzilla.suse.com/800024
bugzilla.suse.com/920870
suse.com/security/cve/CVE-2013-0211
suse.com/security/cve/CVE-2015-2304
suse.com/support/update/announcement/2016/suse-su-20161939-1
bugzilla.suse.com/984990
bugzilla.suse.com/985609
bugzilla.suse.com/985669
bugzilla.suse.com/985675
bugzilla.suse.com/985682
bugzilla.suse.com/985698
suse.com/security/cve/CVE-2015-8918
suse.com/security/cve/CVE-2015-8920
suse.com/security/cve/CVE-2015-8921
suse.com/security/cve/CVE-2015-8924
suse.com/security/cve/CVE-2015-8929
suse.com/security/cve/CVE-2016-4809
suse.com/support/update/announcement/2016/suse-su-20162911-1
bugzilla.suse.com/1005070
bugzilla.suse.com/1005072
bugzilla.suse.com/1005076
bugzilla.suse.com/986566
bugzilla.suse.com/989980
bugzilla.suse.com/998677
suse.com/security/cve/CVE-2016-5418
suse.com/security/cve/CVE-2016-5844
suse.com/security/cve/CVE-2016-6250
suse.com/security/cve/CVE-2016-8687
suse.com/security/cve/CVE-2016-8688
suse.com/security/cve/CVE-2016-8689
ubuntu.com/security/CVE-2015-2304
ubuntu.com/security/notices/USN-2549-1
cve.org/CVERecord?id=CVE-2015-2304
ubuntu.com/security/CVE-2013-0211
suse.com/security/cve/CVE-2015-8917
suse.com/security/cve/CVE-2015-8928
suse.com/security/cve/CVE-2015-8933
suse.com/security/cve/CVE-2015-8934
suse.com/security/cve/CVE-2016-1541
suse.com/security/cve/CVE-2016-4300
suse.com/security/cve/CVE-2016-4301