CVE catalog

CVE-2018-1000888

php-pear: CVE-2018-1000888

[CVE catalog]

Severity
High · CVSS 8.8CVSS: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.

DistributionPackageReleaseVersionStatus
Debianphp-pearsid1:1.10.16+submodules+notgz-3fixed
Debianphp-pearforky1:1.10.16+submodules+notgz-3fixed
Debianphp-peartrixie1:1.10.16+submodules+notgz-3fixed
Debianphp-pearbookworm1:1.10.13+submodules+notgz+2022032202-2fixed
Ubuntuphp-pear16.041:1.10.1+submodules+notgz-4vulnerable
Ubuntuphp-pear16.041:1.10.1+submodules+notgz-6vulnerable
Ubuntuphp-pear16.041:1.10.1+submodules+notgz-6ubuntu0.1fixed
Ubuntuphp-pear18.041:1.10.5+submodules+notgz-1vulnerable
Ubuntuphp-pear18.041:1.10.5+submodules+notgz-1ubuntu1vulnerable
Ubuntuphp-pear18.041:1.10.5+submodules+notgz-1ubuntu1.18.04.1fixed
Ubuntuphp-pear16.041:1.10.1+submodules+notgz-4vulnerable
Ubuntuphp-pear16.041:1.10.1+submodules+notgz-6vulnerable
Ubuntuphp-pear16.041:1.10.1+submodules+notgz-6ubuntu0.1fixed
Ubuntuphp-pear18.041:1.10.5+submodules+notgz-1vulnerable
Ubuntuphp-pear18.041:1.10.5+submodules+notgz-1ubuntu1vulnerable
Ubuntuphp-pear18.041:1.10.5+submodules+notgz-1ubuntu1.18.04.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianphp-pearsourcesid1:1.10.6+submodules+notgz-1.1not yet assignedNot reported[919147]
Debianphp-pearsourceforky1:1.10.6+submodules+notgz-1.1not yet assignedNot reported[919147]
Debianphp-pearsourcetrixie1:1.10.6+submodules+notgz-1.1not yet assignedNot reported[919147]
Debianphp-pearsourcebookworm1:1.10.6+submodules+notgz-1.1not yet assignedNot reported[919147]
Ubuntuphp-peardeb16.041:1.10.1+submodules+notgz-6ubuntu0.1Not reportedUSN-3857-1Not reported
Ubuntuphp-peardeb18.041:1.10.5+submodules+notgz-1ubuntu1.18.04.1Not reportedUSN-3857-1Not reported
Ubuntuphp-peardeb16.041:1.10.1+submodules+notgz-6ubuntu0.1Not reportedUBUNTU-CVE-2018-1000888Not reported
Ubuntuphp-peardeb18.041:1.10.5+submodules+notgz-1ubuntu1.18.04.1Not reportedUBUNTU-CVE-2018-1000888Not reported

[Debian bug #919147]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [php-pear]Fixed
    Details (2)
    • 1:1.10.13+submodules+notgz+2022032202-2 · all · bookworm

      Fixed · Fixed: 1:1.10.6+submodules+notgz-1.1

      dsa · php-pear · debian · bookworm; dsa · php-pear · debian · 12

    • 1:1.10.13+submodules+notgz+2022032202-2 · all · bookworm

      Fixed · Fixed: 1:1.10.6+submodules+notgz-1.1

      dsa · 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 · trixie

      Fixed · Fixed: 1:1.10.6+submodules+notgz-1.1

      dsa · php-pear · debian · 13

    • 1:1.10.16+submodules+notgz-3 · all · trixie

      Fixed · Fixed: 1:1.10.6+submodules+notgz-1.1

      dsa · php-pear · debian · 13

Observed:

References