Critical severity · published May 20, 2016
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 crafted filename, as demonstrated by…
9.8
CVSS
5.9%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)5.9% · higher than 93% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PH
PHP · PHP
5.6.0; 5.6.0; 5.6.0; 5.6.0; 5.6.0; 5.6.0; +34 more · source: NVD
MO
Mac OS X · Apple
through 10.11.4 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2016-4072
CVE.org
https://www.cve.org/CVERecord?id=CVE-2016-4072
lists.apple.com
http://lists.apple.com/archives/security-announce/2016/May/msg00004.html
rhn.redhat.com
http://rhn.redhat.com/errata/RHSA-2016-2750.html
www.debian.org
http://www.debian.org/security/2016/dsa-3560
www.openwall.com
http://www.openwall.com/lists/oss-security/2016/04/24/1
www.php.net
http://www.php.net/ChangeLog-5.php
www.php.net
http://www.php.net/ChangeLog-7.php
More from PHP
9.8
CVE-2026-109618
RCE via OOM corruption
9.8
CVE-2024-4577
Argument Injection in PHP-CGI
9.8
CVE-2019-11043
Underflow in PHP-FPM can lead to RCE
9.8
CVE-2016-10033
The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra parameters to the mail command and consequently execute…
9.8
CVE-2012-1823
PHP-CGI Query String Parameter Vulnerability
