ADVISORIES

Vulnerability

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.

12 advisories report this vulnerability, across 8 ecosystems.

Advisories

  • ALAS2-2019-1159

    Amazon Linux 2 2017.12 - ALAS2-2019-1159: medium priority package update for php-pear

    Medium CVE-2018-1000888 Amazon Linux Updated 14 February 2019
  • ALPINE-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,…

    CVE-2018-1000888 Alpine Updated 3 November 2026
  • DEBIAN-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,…

    CVE-2018-1000888 Debian Updated 23 October 2026
  • DLA-1674-1

    php5 - security update

    CVE-2018-1000888 Debian Updated 20 November 2026
  • DSA-4378-1

    php-pear - security update

    CVE-2018-1000888 Debian Updated 20 November 2026
  • GHSA-3q76-jq6m-573p

    Archive_Tar contains Potential RCE if filename starts with phar://

    High CVE-2018-1000888 Packagist Updated 3 December 2024
  • RHVEX-CVE-2018-1000888

    php-pear: Unsafe deserialization of data in Archive_Tar class

    Moderate CVE-2018-1000888 Red Hat Updated 23 November 2026
  • SUSEVEX-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,…

    Important CVE-2018-1000888 SUSE Updated 2 November 2026
  • UBUNTU-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,…

    CVE-2018-1000888 Ubuntu Updated 4 February 2026
  • USN-3857-1

    php-pear vulnerability

    CVE-2018-1000888 Ubuntu Updated 10 February 2026
  • openSUSE-SU-2024:11167-1

    php7-7.4.24-1.1 on GA media

    Known exploited CVE-2005-3353CVE-2005-3388CVE-2005-3389CVE-2005-3390 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:11169-1

    php8-8.0.11-1.1 on GA media

    Known exploited CVE-2005-3353CVE-2005-3388CVE-2005-3389CVE-2005-3390 openSUSE Updated 4 February 2026

References