Vulnerabilities · 2016 · Php
CVE-2016-4072
Php vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Php, Mac Os X. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- lists.apple.com/archives/security-announce/2016/May/msg00004.html
- rhn.redhat.com/errata/RHSA-2016-2750.html
- www.debian.org/security/2016/dsa-3560
- www.openwall.com/lists/oss-security/2016/04/24/1
- www.php.net/ChangeLog-5.php
- www.php.net/ChangeLog-7.php
- www.securityfocus.com/bid/85993
- www.ubuntu.com/usn/USN-2952-1
- nvd.nist.gov/vuln/detail/CVE-2016-4072
- cve.org/CVERecord?id=CVE-2016-4072
More vulnerabilities in Php products
CVE-2025-14180CVE-2025-14178CVE-2025-14177CVE-2025-6491CVE-2025-1861CVE-2025-1736CVE-2025-1735CVE-2025-1734All 740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.