CVE-2018-1000888
Archive_Tar contains Potential RCE if filename starts with phar://
PEAR Archive_Tar version 1.4.3 and earlier contains a CWE-502, CWE-915 vulnerability in the Archive_Tar class. There are several file operations with $v_header['filename'] as parameter (such as file_exists, is_file, is_dir, etc). When extract is called without a specific prefix path, we can trigger unserialization by crafting a tar file with phar://[path_to_malicious_phar_file] as path. Object injection can be used to trigger destruct in the loaded PHP classes, e.g. the Archive_Tar class itself. With Archive_Tar object injection, arbitrary file deletion can occur because @unlink($this->_temp_tarname) is called. If another class with useful gadget is loaded, it may possible to cause remote code execution that can result in files being deleted or possibly modified. This vulnerability appears to have been fixed in 1.4.4.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
8.8
PEAR Archive_Tar version 1.4.3 and earlier contains a CWE-502, CWE-915 vulnerability in the Archive_Tar class. There are several file operations with $v_header['filename'] as parameter (such as file_exists, is_file, is_dir, etc). When extract is called without a specific prefix path, we can trigger unserialization by crafting a tar file with phar://[path_to_malicious_phar_file] as path. Object injection can be used to trigger destruct in the loaded PHP classes, e.g. the Archive_Tar class itself. With Archive_Tar object injection, arbitrary file deletion can occur because @unlink($this->_temp_tarname) is called. If another class with useful gadget is loaded, it may possible to cause remote code execution that can result in files being deleted or possibly modified. This vulnerability appears to have been fixed in 1.4.4.
- Record
CVE-2018-1000888- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-502
- Updated
- 2026-11-02
CVE List No score
PEAR Archive_Tar version 1.4.3 and earlier contains a CWE-502, CWE-915 vulnerability in the Archive_Tar class. There are several file operations with $v_header['filename'] as parameter (such as file_exists, is_file, is_dir, etc). When extract is called without a specific prefix path, we can trigger unserialization by crafting a tar file with phar://[path_to_malicious_phar_file] as path. Object injection can be used to trigger destruct in the loaded PHP classes, e.g. the Archive_Tar class itself. With Archive_Tar object injection, arbitrary file deletion can occur because @unlink($this->_temp_tarname) is called. If another class with useful gadget is loaded, it may possible to cause remote code execution that can result in files being deleted or possibly modified. This vulnerability appears to have been fixed in 1.4.4.
- Record
CVE-2018-1000888- Updated
- 2026-11-02
EUVDEUVD-2023-1941 No score
PEAR Archive_Tar version 1.4.3 and earlier contains a CWE-502, CWE-915 vulnerability in the Archive_Tar class. There are several file operations with $v_header['filename'] as parameter (such as file_exists, is_file, is_dir, etc). When extract is called without a specific prefix path, we can trigger unserialization by crafting a tar file with phar://[path_to_malicious_phar_file] as path. Object injection can be used to trigger destruct in the loaded PHP classes, e.g. the Archive_Tar class itself. With Archive_Tar object injection, arbitrary file deletion can occur because @unlink($this->_temp_tarname) is called. If another class with useful gadget is loaded, it may possible to cause remote code execution that can result in files being deleted or possibly modified. This vulnerability appears to have been fixed in 1.4.4.
- Record
EUVD-2023-1941- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-3q76-jq6m-573p
8.8
Archive_Tar contains Potential RCE if filename starts with phar://
PEAR Archive_Tar version 1.4.3 and earlier contains a CWE-502, CWE-915 vulnerability in the Archive_Tar class. There are several file operations with $v_header['filename'] as parameter (such as file_exists, is_file, is_dir, etc). When extract is called without a specific prefix path, we can trigger unserialization by crafting a tar file with phar://[path_to_malicious_phar_file] as path. Object injection can be used to trigger destruct in the loaded PHP classes, e.g. the Archive_Tar class itself. With Archive_Tar object injection, arbitrary file deletion can occur because @unlink($this->_temp_tarname) is called. If another class with useful gadget is loaded, it may possible to cause remote code execution that can result in files being deleted or possibly modified. This vulnerability appears to have been fixed in 1.4.4.
- Record
GHSA-3q76-jq6m-573p- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV
8.8
PEAR Archive_Tar version 1.4.3 and earlier contains a CWE-502, CWE-915 vulnerability in the Archive_Tar class. There are several file operations with $v_header['filename'] as parameter (such as file_exists, is_file, is_dir, etc). When extract is called without a specific prefix path, we can trigger unserialization by crafting a tar file with phar://[path_to_malicious_phar_file] as path. Object injection can be used to trigger destruct in the loaded PHP classes, e.g. the Archive_Tar class itself. With Archive_Tar object injection, arbitrary file deletion can occur because @unlink($this->_temp_tarname) is called. If another class with useful gadget is loaded, it may possible to cause remote code execution that can result in files being deleted or possibly modified. This vulnerability appears to have been fixed in 1.4.4.
- Record
CVE-2018-1000888- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2018-1000888
8.8
PEAR Archive_Tar version 1.4.3 and earlier contains a CWE-502, CWE-915 vulnerability in the Archive_Tar class. There are several file operations with $v_header['filename'] as parameter (such as file_exists, is_file, is_dir, etc). When extract is called without a specific prefix path, we can trigger unserialization by crafting a tar file with phar://[path_to_malicious_phar_file] as path. Object injection can be used to trigger destruct in the loaded PHP classes, e.g. the Archive_Tar class itself. With Archive_Tar object injection, arbitrary file deletion can occur because @unlink($this->_temp_tarname) is called. If another class with useful gadget is loaded, it may possible to cause remote code execution that can result in files being deleted or possibly modified. This vulnerability appears to have been fixed in 1.4.4.
- Record
DEBIAN-CVE-2018-1000888- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 5 moreShow less
OSVGHSA-3q76-jq6m-573p
8.8
Archive_Tar contains Potential RCE if filename starts with phar://
PEAR Archive_Tar version 1.4.3 and earlier contains a CWE-502, CWE-915 vulnerability in the Archive_Tar class. There are several file operations with $v_header['filename'] as parameter (such as file_exists, is_file, is_dir, etc). When extract is called without a specific prefix path, we can trigger unserialization by crafting a tar file with phar://[path_to_malicious_phar_file] as path. Object injection can be used to trigger destruct in the loaded PHP classes, e.g. the Archive_Tar class itself. With Archive_Tar object injection, arbitrary file deletion can occur because @unlink($this->_temp_tarname) is called. If another class with useful gadget is loaded, it may possible to cause remote code execution that can result in files being deleted or possibly modified. This vulnerability appears to have been fixed in 1.4.4.
- Record
GHSA-3q76-jq6m-573p- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-1000888
8.8
PEAR Archive_Tar version 1.4.3 and earlier contains a CWE-502, CWE-915 vulnerability in the Archive_Tar class. There are several file operations with $v_header['filename'] as parameter (such as file_exists, is_file, is_dir, etc). When extract is called without a specific prefix path, we can trigger unserialization by crafting a tar file with phar://[path_to_malicious_phar_file] as path. Object injection can be used to trigger destruct in the loaded PHP classes, e.g. the Archive_Tar class itself. With Archive_Tar object injection, arbitrary file deletion can occur because @unlink($this->_temp_tarname) is called. If another class with useful gadget is loaded, it may possible to cause remote code execution that can result in files being deleted or possibly modified. This vulnerability appears to have been fixed in 1.4.4.
- Record
UBUNTU-CVE-2018-1000888- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11167-1 No score
php7-7.4.24-1.1 on GA media
These are all security issues fixed in the php7-7.4.24-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11167-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11169-1 No score
php8-8.0.11-1.1 on GA media
These are all security issues fixed in the php8-8.0.11-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11169-1- Updated
- 2026-11-02
OSVUSN-3857-1 No score
php-pear vulnerability
Fariskhi Vidyan discovered that PEAR Archive_Tar incorrectly handled certain archive paths. A remote attacker could possibly use this issue to execute arbitrary code.
- Record
USN-3857-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
pear/archive_tarPackagist |
before 1.4.4 | 1.4.4 |
php-pearDebian:12 |
before 1:1.10.6+submodules+notgz-1.1 | 1:1.10.6+submodules+notgz-1.1 |
php-pearDebian:13 |
before 1:1.10.6+submodules+notgz-1.1 | 1:1.10.6+submodules+notgz-1.1 |
php-pearDebian:14 |
before 1:1.10.6+submodules+notgz-1.1 | 1:1.10.6+submodules+notgz-1.1 |
php5Debian:8 |
before 5.6.39+dfsg-0+deb8u2, plus listed versions 5.6.11+dfsg-15.6.12+dfsg-0+deb8u15.6.12+dfsg-15.6.13+dfsg-0+deb8u15.6.13+dfsg-1 Show 40 moreShow less5.6.13+dfsg-25.6.14+dfsg-0+deb8u15.6.14+dfsg-15.6.15+dfsg-15.6.16+dfsg-15.6.16+dfsg-25.6.16+dfsg-35.6.16+dfsg-45.6.17+dfsg-0+deb8u15.6.17+dfsg-15.6.17+dfsg-35.6.18+dfsg-15.6.19+dfsg-0+deb8u15.6.19+dfsg-15.6.19+dfsg-25.6.20+dfsg-0+deb8u15.6.20+dfsg-15.6.21+dfsg-15.6.21+dfsg-25.6.22+dfsg-0+deb8u15.6.22+dfsg-15.6.22+dfsg-25.6.23+dfsg-0+deb8u15.6.23+dfsg-15.6.24+dfsg-0+deb8u15.6.24+dfsg-15.6.26+dfsg-0+deb8u15.6.26+dfsg-15.6.27+dfsg-0+deb8u15.6.28+dfsg-0+deb8u15.6.29+dfsg-0+deb8u15.6.30+dfsg-0+deb8u15.6.33+dfsg-0+deb8u15.6.36+dfsg-0+deb8u15.6.37+dfsg-0+deb8u15.6.38+dfsg-0+deb8u15.6.39+dfsg-0+deb8u15.6.7+dfsg-15.6.9+dfsg-0+deb8u15.6.9+dfsg-1 |
5.6.39+dfsg-0+deb8u2 |
php-pearDebian:9 |
before 1:1.10.1+submodules+notgz-9+deb9u1, plus listed versions 1:1.10.1+submodules+notgz-9 |
1:1.10.1+submodules+notgz-9+deb9u1 |
pear/archive_tarPackagist |
before 1.4.4, plus listed versions 1.3.111.3.121.3.131.3.141.3.15 Show 5 moreShow less1.3.161.4.01.4.11.4.21.4.3 |
1.4.4 |
php-pearUbuntu:16.04:LTS |
before 1:1.10.1+submodules+notgz-6ubuntu0.1, plus listed versions 1:1.10.1+submodules+notgz-41:1.10.1+submodules+notgz-6 |
1:1.10.1+submodules+notgz-6ubuntu0.1 |
php-pearUbuntu:18.04:LTS |
before 1:1.10.5+submodules+notgz-1ubuntu1.18.04.1, plus listed versions 1:1.10.5+submodules+notgz-11:1.10.5+submodules+notgz-1ubuntu1 |
1:1.10.5+submodules+notgz-1ubuntu1.18.04.1 |
php7openSUSE:Tumbleweed From an advisory covering 44 CVEs |
before 7.4.24-1.1 | 7.4.24-1.1 |
php8openSUSE:Tumbleweed From an advisory covering 97 CVEs |
before 8.0.11-1.1 | 8.0.11-1.1 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | PEAR Archive_Tar < 1.4.4 - PHP Object Injection | 2019-01-10 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, Exploit-DB, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-1000888 is a high vulnerability (CVSS 8.8) in Canonical Ubuntu Linux, published December 27, 2018. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 19.1%, the 97th percentile. Fixed in pear/archive_tar 1.4.4.
References
lists.debian.org/debian-lts-announce/2019/02/msg00020.html
usn.ubuntu.com/3857-1
debian.org/security/2019/dsa-4378
exploit-db.com/exploits/46108
pear.php.net/package/Archive_Tar/download
cdn2.hubspot.net/hubfs/3853213/us-18-Thomas-It%27s-A-PHP-Unserialization-Vulnerability-Jim-But-Not-As-We-....pdf
Show 112 moreShow less
blog.ripstech.com/2018/new-php-exploitation-technique
pear.php.net/bugs/bug.php?id=23782
security.gentoo.org/glsa/202006-14
nvd.nist.gov/vuln/detail/CVE-2018-1000888
github.com/pear/Archive_Tar/commit/59ace120ac5ceb5f0d36e40e48e1884de1badf76
github.com/FriendsOfPHP/security-advisories/blob/master/pear/archive_tar/CVE-2018-1000888.yaml
web.archive.org/web/20210328115328/https://cdn2.hubspot.net/hubfs/3853213/us-18-Thomas-It's-A-PHP-Unserialization-Vulnerability-Jim-But-Not-As-We-....pdf
web.archive.org/web/20220524160841/https://blog.sonarsource.com/new-php-exploitation-technique?redirect=rips
github.com/advisories/GHSA-3q76-jq6m-573p
security-tracker.debian.org/tracker/CVE-2018-1000888
github.com/pear/Archive_Tar
ubuntu.com/security/CVE-2018-1000888
blog.pear.php.net/2018/12/20/security-vulnerability-announcement-archive_tar
ubuntu.com/security/notices/USN-3857-1
cve.org/CVERecord?id=CVE-2018-1000888
suse.com/security/cve/CVE-2005-3353
suse.com/security/cve/CVE-2005-3388
suse.com/security/cve/CVE-2005-3389
suse.com/security/cve/CVE-2005-3390
suse.com/security/cve/CVE-2005-3391
suse.com/security/cve/CVE-2005-3392
suse.com/security/cve/CVE-2006-0996
suse.com/security/cve/CVE-2006-1017
suse.com/security/cve/CVE-2006-1490
suse.com/security/cve/CVE-2006-1494
suse.com/security/cve/CVE-2006-1991
suse.com/security/cve/CVE-2007-4783
suse.com/security/cve/CVE-2007-4887
suse.com/security/cve/CVE-2008-0599
suse.com/security/cve/CVE-2017-9120
suse.com/security/cve/CVE-2018-1000222
suse.com/security/cve/CVE-2018-1000888
suse.com/security/cve/CVE-2018-12882
suse.com/security/cve/CVE-2018-14851
suse.com/security/cve/CVE-2018-17082
suse.com/security/cve/CVE-2018-19935
suse.com/security/cve/CVE-2018-20783
suse.com/security/cve/CVE-2019-11034
suse.com/security/cve/CVE-2019-11035
suse.com/security/cve/CVE-2019-11036
suse.com/security/cve/CVE-2019-11039
suse.com/security/cve/CVE-2019-11040
suse.com/security/cve/CVE-2019-11041
suse.com/security/cve/CVE-2019-11042
suse.com/security/cve/CVE-2019-11043
suse.com/security/cve/CVE-2019-11046
suse.com/security/cve/CVE-2019-9020
suse.com/security/cve/CVE-2019-9021
suse.com/security/cve/CVE-2019-9022
suse.com/security/cve/CVE-2019-9023
suse.com/security/cve/CVE-2019-9024
suse.com/security/cve/CVE-2019-9637
suse.com/security/cve/CVE-2019-9638
suse.com/security/cve/CVE-2019-9640
suse.com/security/cve/CVE-2019-9641
suse.com/security/cve/CVE-2019-9675
suse.com/security/cve/CVE-2020-7062
suse.com/security/cve/CVE-2020-7063
suse.com/security/cve/CVE-2021-21706
suse.com/security/cve/CVE-2006-7243
suse.com/security/cve/CVE-2010-2225
suse.com/security/cve/CVE-2010-2950
suse.com/security/cve/CVE-2010-3436
suse.com/security/cve/CVE-2010-3709
suse.com/security/cve/CVE-2010-3710
suse.com/security/cve/CVE-2010-4150
suse.com/security/cve/CVE-2010-4645
suse.com/security/cve/CVE-2011-0420
suse.com/security/cve/CVE-2011-0421
suse.com/security/cve/CVE-2011-0708
suse.com/security/cve/CVE-2011-1092
suse.com/security/cve/CVE-2011-1153
suse.com/security/cve/CVE-2011-1466
suse.com/security/cve/CVE-2011-2202
suse.com/security/cve/CVE-2011-3379
suse.com/security/cve/CVE-2011-4153
suse.com/security/cve/CVE-2011-4566
suse.com/security/cve/CVE-2011-4885
suse.com/security/cve/CVE-2012-0830
suse.com/security/cve/CVE-2012-1823
suse.com/security/cve/CVE-2012-2688
suse.com/security/cve/CVE-2012-3365
suse.com/security/cve/CVE-2013-1635
suse.com/security/cve/CVE-2013-1643
suse.com/security/cve/CVE-2013-4113
suse.com/security/cve/CVE-2013-4248
suse.com/security/cve/CVE-2013-6420
suse.com/security/cve/CVE-2013-6712
suse.com/security/cve/CVE-2013-7327
suse.com/security/cve/CVE-2013-7345
suse.com/security/cve/CVE-2014-0185
suse.com/security/cve/CVE-2014-0238
suse.com/security/cve/CVE-2014-1943
suse.com/security/cve/CVE-2014-2497
suse.com/security/cve/CVE-2014-3538
suse.com/security/cve/CVE-2014-3597
suse.com/security/cve/CVE-2014-3622
suse.com/security/cve/CVE-2014-3668
suse.com/security/cve/CVE-2014-3670
suse.com/security/cve/CVE-2014-4049
suse.com/security/cve/CVE-2014-4670
suse.com/security/cve/CVE-2014-4698
suse.com/security/cve/CVE-2014-5459
suse.com/security/cve/CVE-2014-9426
suse.com/security/cve/CVE-2014-9427
suse.com/security/cve/CVE-2015-0231
suse.com/security/cve/CVE-2015-0235
suse.com/security/cve/CVE-2015-0273
suse.com/security/cve/CVE-2015-1351
suse.com/security/cve/CVE-2015-3152
suse.com/security/cve/CVE-2015-3414
suse.com/security/cve/CVE-2015-3415