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

Advisory record · `GHSA-3q76-jq6m-573p`

- **Identifiers:** `GHSA-3q76-jq6m-573p` · `CVE-2018-1000888` · `PKSA-x2h6-cyyw-syx8`
- **State:** Confirmed
- **Severity:** CVSS 8.8 High
- **Critical:** Yes: CVSS 7+ and EPSS
- **Published:** 7 Jul 2023
- **Updated:** 3 Dec 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 7 Jul 2023, 13:42 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Critical

Critical, because:

- CVSS score 8.8 (7.0 or more) and EPSS 0.19 (0.1 or more): a high score and a real chance of exploitation in the next 30 days.

How we decide what’s critical: <https://agentprime.io/advisories/critical.md>

## Affected packages

- `pear/archive_tar` (Packagist): affected `<1.4.4`; fixed in `1.4.4`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 8.8 High, CVSS 3.0: `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.19, the 97th percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the GitHub Advisory Database, published 7 Jul 2023. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-3q76-jq6m-573p](https://github.com/advisories/GHSA-3q76-jq6m-573p)
- [OSV: GHSA-3q76-jq6m-573p](https://osv.dev/vulnerability/GHSA-3q76-jq6m-573p)
- <https://nvd.nist.gov/vuln/detail/CVE-2018-1000888>
- <https://github.com/pear/Archive_Tar/commit/59ace120ac5ceb5f0d36e40e48e1884de1badf76>
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/pear/archive_tar/CVE-2018-1000888.yaml>
- <https://github.com/pear/Archive_Tar>
- <https://lists.debian.org/debian-lts-announce/2019/02/msg00020.html>
- <https://pear.php.net/bugs/bug.php?id=23782>
- <https://security.gentoo.org/glsa/202006-14>
- <https://usn.ubuntu.com/3857-1>
- <https://web.archive.org/web/20210328115328/https://cdn2.hubspot.net/hubfs/3853213/us-18-Thomas-It's-A-PHP-Unserialization-Vulnerability-Jim-But-Not-As-We-....pdf>
- <https://web.archive.org/web/20220524160841/https://blog.sonarsource.com/new-php-exploitation-technique?redirect=rips>
- <https://www.debian.org/security/2019/dsa-4378>
- <https://www.exploit-db.com/exploits/46108>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-3q76-jq6m-573p>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-3q76-jq6m-573p/>. Everything for agents: <https://agentprime.io/llms.txt>.
