CVE-2018-1000888 in Canonical Ubuntu Linux and 2 more products
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...
Affects 3 products from 3 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 16.04 18.04 18.10 |
| Debian | Debian Linux | 8.0 9.0 |
| Php | Pear Archive Tar | ≤ 1.4.3 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2018-1000888 |
|---|---|
| BreachSpider ID | BS-2018-GLOBAL-166385-H |
| CVSS 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 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-502: Deserialization of Untrusted Data
Software deserializes untrusted data without validation, allowing crafted objects to execute arbitrary code.
Related attack patterns (CAPEC)
CAPEC-586 Object Injection via CWE-502
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2018-1000888 affects PEAR Archive_Tar version 1.4.3 and earlier, allowing for unserialization of objects through crafted tar files, which can lead to remote code execution.
An attacker can craft a tar file with a filename containing a phar:// URL pointing to a malicious PHAR file. When the vulnerable Archive_Tar class extracts this tar file without specifying a prefix path, it can trigger the unserialization of objects from the PHAR file, potentially leading to remote code execution.
Questions
What is CVE-2018-1000888?
CVE-2018-1000888 affects PEAR Archive_Tar version 1.4.3 and earlier, allowing for unserialization of objects through crafted tar files, which can lead to remote code execution.
What is the CVSS score for CVE-2018-1000888?
CVE-2018-1000888 has CVSS 8.8 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. EPSS: 19.1%.
Is CVE-2018-1000888 actively exploited?
Public exploit available for CVE-2018-1000888. Exploitation risk elevated.
How do I remediate CVE-2018-1000888?
Priority: IMMEDIATE.
What systems are affected by CVE-2018-1000888?
CVE-2018-1000888 affects Canonical Ubuntu Linux; Debian Debian Linux; Php Pear Archive Tar.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.