Home / Php / Pear Archive Tar / CVE-2018-1000888
CVE-2018-1000888: is it exploited, and which versions of Php Pear Archive Tar are affected and fixed?
CVE-2018-1000888 is a deserialization of untrusted data vulnerability in Php Pear Archive Tar. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: pear/archive_tar before 1.4.4 (GitHub advisory GHSA-3q76-jq6m-573p). Fixed in 1.4.4 (GitHub advisory GHSA-3q76-jq6m-573p). Severity: High (8.8, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:26 UTC.
What is CVE-2018-1000888?
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.
From the CVE record by mitre, last updated August 5, 2024, 12:47 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | pear/archive_tar | < 1.4.4 | 1.4.4 | GHSA-3q76-jq6m-573p |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 7, 2023. Summary: Archive_Tar contains Potential RCE if filename starts with phar://.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| php | pear archive tar | through 1.4.3 | application |
| canonical | ubuntu linux | 16.04 | operating system |
| canonical | ubuntu linux | 18.04 | operating system |
| canonical | ubuntu linux | 18.10 | operating system |
| debian | debian linux | 8.0 | operating system |
| debian | debian linux | 9.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 01:33 UTC.
How severe is CVE-2018-1000888?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.8 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | NVD |
| Medium 6.8 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2018-1000888 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 19.1% probability of exploitation activity in the next 30 days, percentile 97.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-502 Deserialization of Untrusted Data
Where are the vendor advisories and references?
- [debian-lts-announce] 20190212 [SECURITY] [DLA 1674-1] php5 security update mailing-list, x_refsource_MLIST
- USN-3857-1 vendor-advisory, x_refsource_UBUNTU
- DSA-4378 vendor-advisory, x_refsource_DEBIAN
- 46108 exploit, x_refsource_EXPLOIT-DB
- https://pear.php.net/package/Archive_Tar/download/ x_refsource_CONFIRM
- https://cdn2.hubspot.net/hubfs/3853213/us-18-Thomas-It%27s-A-PHP-Unserialization-Vulnerability-Jim-But-Not-As-We-....pdf x_refsource_MISC
- https://blog.ripstech.com/2018/new-php-exploitation-technique/ x_refsource_MISC
- https://pear.php.net/bugs/bug.php?id=23782 x_refsource_CONFIRM
- GLSA-202006-14 vendor-advisory, x_refsource_GENTOO
When was it published, and where is the official record?
- Reserved
- December 20, 2018
- Published
- December 27, 2018, 18:00 UTC
- CVE record updated
- August 5, 2024, 12:47 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 01:33 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:26 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2018-1000888
Is CVE-2018-1000888 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 19.1% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Php Pear Archive Tar are affected by CVE-2018-1000888?
pear/archive_tar before 1.4.4, per the GitHub advisory GHSA-3q76-jq6m-573p. The tables above give every range the sources list.
Which version fixes CVE-2018-1000888?
1.4.4, per the GitHub advisory GHSA-3q76-jq6m-573p. Check the vendor's advisory before you rely on it.
How severe is CVE-2018-1000888?
High (8.8, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2018-1000888?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.