Back
CVE-2016-4072
The Phar extension in PHP before 5.5.34, 5.6.x before 5.6.20, and 7.x before 7.0.5 allows remote attackers to execute arbitrary code via a…
Critical9.8EPSS 5.9%
- Published
- Updated
- Reserved
- Assigned by
- mitre
Description
The Phar extension in PHP before 5.5.34, 5.6.x before 5.6.20, and 7.x before 7.0.5 allows remote attackers to execute arbitrary code via a crafted filename, as demonstrated by mishandling of \0 characters by the phar_analyze_path function in ext/phar/phar.c.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Critical9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 5.9% · top 6.7% of all CVEs (2 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Weakness
Affected products
n/a
- affected n/a
References (17)
- USN-2952-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05320149 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://www.php.net/ChangeLog-7.php (opens in a new tab)x_refsource_CONFIRMx_transferred
- GLSA-201611-22 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- https://support.apple.com/HT206567 (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2016:2750 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- DSA-3560 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- USN-2952-2 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- https://bugs.php.net/bug.php?id=71860 (opens in a new tab)x_refsource_CONFIRMx_transferred
- APPLE-SA-2016-05-16-4 (opens in a new tab)vendor-advisoryx_refsource_APPLEx_transferred
- http://www.php.net/ChangeLog-5.php (opens in a new tab)x_refsource_CONFIRMx_transferred
- 85993 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05390722 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://git.php.net/?p=php-src.git%3Ba=commit%3Bh=1e9b175204e3286d64dfd6c9f09151c31b5e099a (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://gist.github.com/smalyshev/80b5c2909832872f2ba2 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731 (opens in a new tab)x_refsource_CONFIRMx_transferred
- [oss-security] 20160423 Re: CVE request: PHP issues fixed in 7.0.5, 5.6.20 and 5.5.34 releases (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .