cve.bz

CVE-2018-1000888 Deserialization of Untrusted Data

8.8 highExploitEPSS 19%Fix available

High (8.8). EPSS 19% estimated probability of exploitation activity in the next 30 days. Fixed in pear/archive_tar 1.4.4.

On this page
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.

Severity

CVSS 3.0

8.8 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
19% (unchanged from 19% a week ago; 19% 30 days ago) estimated probability of exploitation activity in the next 30 days; 97th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-502 Deserialization of Untrusted Data
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-1000888 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-1000888?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-1000888?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-1000888 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
php:pear_archive_tarthrough 1.4.3
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux18.10
debian:debian_linux8.0
debian:debian_linux9.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-3q76-jq6m-573pPackagistpear/archive_tar<1.4.41.4.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8php55.6.39+dfsg-0+deb8u2DLA-1674-1
Debian9php-pear1:1.10.1+submodules+notgz-9+deb9u1DSA-4378-1
Debian12, 13, 14php-pear1:1.10.6+submodules+notgz-1.1DEBIAN-CVE-2018-1000888
Ubuntu16.04:LTSphp-pear1:1.10.1+submodules+notgz-6ubuntu0.1UBUNTU-CVE-2018-1000888 USN-3857-1
Ubuntu18.04:LTSphp-pear1:1.10.5+submodules+notgz-1ubuntu1.18.04.1UBUNTU-CVE-2018-1000888 USN-3857-1
openSUSETumbleweedphp77.4.24-1.1openSUSE-SU-2024:11167-1
openSUSETumbleweedphp88.0.11-1.1openSUSE-SU-2024:11169-1
Alpinev3.8, v3.9, v3.10 and 10 moredrupal77.62-r0ALPINE-CVE-2018-1000888

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue affects the versions of php-pear as shipped with Red Hat Enterprise Linux 6 and 7.

Red Hat Enterprise Linux 6 is now in Maintenance Support 2 Phase of the support and maintenance life cycle. This has been rated as having a security impact of Moderate, and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.

This issue did not affect the versions of php-pear as shipped with Red Hat Enterprise Linux 5.

The vulnerable version of php-pear on Red Hat Enterprise Linux 8 is deprecated as well.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5php-pearNot affected
Red Hat Enterprise Linux 6php-pearWill not fix
Red Hat Enterprise Linux 7php-pearWill not fix
Red Hat Enterprise Linux 8php-pearWill not fix
Red Hat Software Collectionsrh-php70-php-pearOut of support scope
Red Hat Software Collectionsrh-php71-php-pearOut of support scope
Red Hat Software Collectionsrh-php72-php-pearOut of support scope
Red Hat Software Collectionsrh-php73-php-pearWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-1000888.

Public exploits

Attack patterns (CAPEC)

  • CAPEC-586 Object Injection Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON