
CVE catalog
CVE-2018-1000888
php-pear: CVE-2018-1000888
- Severity
- High · CVSS 8.8
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 19.13% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | php-pear | sid | 1:1.10.16+submodules+notgz-3 | fixed |
| Debian | php-pear | forky | 1:1.10.16+submodules+notgz-3 | fixed |
| Debian | php-pear | trixie | 1:1.10.16+submodules+notgz-3 | fixed |
| Debian | php-pear | bookworm | 1:1.10.13+submodules+notgz+2022032202-2 | fixed |
| Ubuntu | php-pear | 16.04 | 1:1.10.1+submodules+notgz-4 | vulnerable |
| Ubuntu | php-pear | 16.04 | 1:1.10.1+submodules+notgz-6 | vulnerable |
| Ubuntu | php-pear | 16.04 | 1:1.10.1+submodules+notgz-6ubuntu0.1 | fixed |
| Ubuntu | php-pear | 18.04 | 1:1.10.5+submodules+notgz-1 | vulnerable |
| Ubuntu | php-pear | 18.04 | 1:1.10.5+submodules+notgz-1ubuntu1 | vulnerable |
| Ubuntu | php-pear | 18.04 | 1:1.10.5+submodules+notgz-1ubuntu1.18.04.1 | fixed |
| Ubuntu | php-pear | 16.04 | 1:1.10.1+submodules+notgz-4 | vulnerable |
| Ubuntu | php-pear | 16.04 | 1:1.10.1+submodules+notgz-6 | vulnerable |
| Ubuntu | php-pear | 16.04 | 1:1.10.1+submodules+notgz-6ubuntu0.1 | fixed |
| Ubuntu | php-pear | 18.04 | 1:1.10.5+submodules+notgz-1 | vulnerable |
| Ubuntu | php-pear | 18.04 | 1:1.10.5+submodules+notgz-1ubuntu1 | vulnerable |
| Ubuntu | php-pear | 18.04 | 1:1.10.5+submodules+notgz-1ubuntu1.18.04.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | php-pear | source | sid | 1:1.10.6+submodules+notgz-1.1 | not yet assigned | Not reported | [919147] |
| Debian | php-pear | source | forky | 1:1.10.6+submodules+notgz-1.1 | not yet assigned | Not reported | [919147] |
| Debian | php-pear | source | trixie | 1:1.10.6+submodules+notgz-1.1 | not yet assigned | Not reported | [919147] |
| Debian | php-pear | source | bookworm | 1:1.10.6+submodules+notgz-1.1 | not yet assigned | Not reported | [919147] |
| Ubuntu | php-pear | deb | 16.04 | 1:1.10.1+submodules+notgz-6ubuntu0.1 | Not reported | USN-3857-1 | Not reported |
| Ubuntu | php-pear | deb | 18.04 | 1:1.10.5+submodules+notgz-1ubuntu1.18.04.1 | Not reported | USN-3857-1 | Not reported |
| Ubuntu | php-pear | deb | 16.04 | 1:1.10.1+submodules+notgz-6ubuntu0.1 | Not reported | UBUNTU-CVE-2018-1000888 | Not reported |
| Ubuntu | php-pear | deb | 18.04 | 1:1.10.5+submodules+notgz-1ubuntu1.18.04.1 | Not reported | UBUNTU-CVE-2018-1000888 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [php-pear]Fixed
Details (2)
1:1.10.13+submodules+notgz+2022032202-2· all · bookwormFixed · Fixed:
1:1.10.6+submodules+notgz-1.1dsa · php-pear · debian · bookworm; dsa · php-pear · debian · 12
1:1.10.13+submodules+notgz+2022032202-2· all · bookwormFixed · Fixed:
1:1.10.6+submodules+notgz-1.1dsa · php-pear · debian · bookworm; dsa · php-pear · debian · 12
[Debian 13 (Trixie)]
- [php-pear]Fixed
Details (2)
1:1.10.16+submodules+notgz-3· all · trixieFixed · Fixed:
1:1.10.6+submodules+notgz-1.1dsa · php-pear · debian · 13
1:1.10.16+submodules+notgz-3· all · trixieFixed · Fixed:
1:1.10.6+submodules+notgz-1.1dsa · php-pear · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2024_11167-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2018-1000888]
- [https://osv.dev/vulnerability/DLA-1674-1]
- [https://osv.dev/vulnerability/DSA-4378-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2018-1000888]
- [https://osv.dev/vulnerability/USN-3857-1]
- [https://security-tracker.debian.org/tracker/CVE-2018-1000888]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]