← Vulnerability feed

Vulnerability record · CVE-2018-1000888 · published 28 December 2018

CVE-2018-1000888: Php pear archive tar deserialization of untrusted data vulnerability

Php · Pear Archive Tar

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.

8.8 CVSS 3.0 High EPSS 19% · top 2.8% CWE-502 · Deserialization of untrusted data
8.8CVSS 3.0 base score, v2 6.8
19%EPSS exploitation probability, 30 days
NoNot in CISA KEV
3Affected product versions listed by NVD
18References, 6 tagged exploit
17 Jun 2026Last modified by NVD

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.

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

3 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
https://blog.ripstech.com/2018/new-php-exploitation-technique/ ExploitThird Party Advisory
https://cdn2.hubspot.net/hubfs/3853213/us-18-Thomas-It%27s-A-PHP-Unserialization-Vulnerability-Jim-But-Not-As-We-....pdf ExploitTechnical DescriptionThird Party Advisory
https://lists.debian.org/debian-lts-announce/2019/02/msg00020.html Third Party Advisory
https://pear.php.net/bugs/bug.php?id=23782 Broken LinkThird Party Advisory
https://pear.php.net/package/Archive_Tar/download/ Broken LinkThird Party Advisory
https://security.gentoo.org/glsa/202006-14
https://usn.ubuntu.com/3857-1/ Third Party Advisory
https://www.debian.org/security/2019/dsa-4378 Third Party Advisory
https://www.exploit-db.com/exploits/46108/ ExploitThird Party AdvisoryVDB Entry
https://blog.ripstech.com/2018/new-php-exploitation-technique/ ExploitThird Party Advisory
https://cdn2.hubspot.net/hubfs/3853213/us-18-Thomas-It%27s-A-PHP-Unserialization-Vulnerability-Jim-But-Not-As-We-....pdf ExploitTechnical DescriptionThird Party Advisory
https://lists.debian.org/debian-lts-announce/2019/02/msg00020.html Third Party Advisory
https://pear.php.net/bugs/bug.php?id=23782 Broken LinkThird Party Advisory
https://pear.php.net/package/Archive_Tar/download/ Broken LinkThird Party Advisory
https://security.gentoo.org/glsa/202006-14
https://usn.ubuntu.com/3857-1/ Third Party Advisory
https://www.debian.org/security/2019/dsa-4378 Third Party Advisory
https://www.exploit-db.com/exploits/46108/ ExploitThird Party AdvisoryVDB Entry

Track CVE-2018-1000888 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2023-46604Apache ActiveMQ OpenWire deserialization remote code executionThe Java OpenWire protocol marshaller in Apache ActiveMQ deserializes untrusted data, letting an attacker manipulate serialized class types so the br…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2018-1000888), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.