CVE-2018-1000888
A public proof of concept exists; no exploitation attested.
- Published2018-12-28
- Fixed in1.4.4
- WeaknessCWE-502
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
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.
Timeline
dates in UTC- 2019-01-10Exploit-DB entryExploit-DB
Observed activity
isMalicious corpus · updated 2026-11-03 21:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2018-1000888?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2018-1000888?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
OSV · NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.4 | < 1.4.4 | 1.4.4 | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 16.4 | = 16.04 | no fix published | NVD |
| 18.4 | = 18.04 | no fix published | NVD |
| 18.10 | = 18.10 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 8.0 | = 8.0 | no fix published | NVD |
| 9.0 | = 9.0 | no fix published | NVD |
1 more product in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- drupal7CleanStartall versions · fixed in 7.62-r0
- drupal7Alpine:v3.20all versions · fixed in 7.62-r0
- drupal7Alpine:v3.19all versions · fixed in 7.62-r0
- drupal7Alpine:v3.18all versions · fixed in 7.62-r0
- drupal7Alpine:v3.17all versions · fixed in 7.62-r0
- drupal7Alpine:v3.16all versions · fixed in 7.62-r0
- drupal7Alpine:v3.15all versions · fixed in 7.62-r0
- drupal7Alpine:v3.14all versions · fixed in 7.62-r0
15 more package ranges on OSV.dev
Vendor advisories
php-pear: Unsafe deserialization of data in Archive_Tar class
php-pear as a component of Red Hat Enterprise Linux 6 · php-pear.src as a component of Red Hat Enterprise Linux 6 · php-pear as a component of Red Hat Enterprise Linux 7 · +7 more
Fix
- Update pear/archive_tar to 1.4.4
- No fix planned, says the vendor Red Hat Product Security CVE-2018-1000888 · 3 productsOut of support scope
- No fix planned, says the vendor Red Hat Product Security CVE-2018-1000888 · 7 productsWill not fix
Detection
read 2026-11-03 22:42 UTC- Nuclei template
- none so far ProjectDiscovery
- Proof-of-concept repositories
- none listed PoC-in-GitHub
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVSS 3.08.8read 2026-10-23
- NVDCVSS 2.06.8read 2026-10-23
- NVDweakness (CWE)CWE-502read 2026-10-23
- FIRST EPSSEPSS score19.1 %read 2026-11-03
- Exploit-DBdetectionread 2026-11-03
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHIGH2023-07-07
Identifiers
- EUVD-2023-1941same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-3q76-jq6m-573psame flawGitHub Advisory Database · CC-BY-4.0
- DLA-1674-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-4378-1advisory covering several CVEsDebian · LicenseRef-unstated
- openSUSE-SU-2024:11167-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11169-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- USN-3857-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Published
- 2018-12-28
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-3q76-jq6m-573p
Frequently asked questions
What is CVE-2018-1000888?
Is CVE-2018-1000888 actively exploited?
What is the CVSS score for CVE-2018-1000888?
Running pear/archive_tar? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- Exploit-DB · Exploit-DB terms of service · terms restrict redistribution
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-3q76-jq6m-573p
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0