Vulnerabilities · 2016 · Php
CVE-2016-1904
Php vulnerability
Multiple integer overflows in ext/standard/exec.c in PHP 7.x before 7.0.2 allow remote attackers to cause a denial of service or possibly have unspecified other impact via a long string to the (1) php_escape_shell_cmd or (2) php_escape_shell_arg function, leading to a heap-based buffer overflow.
Affected products
Php. 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
- www.php.net/ChangeLog-7.php · Vendor Advisory
- bugs.php.net/bug.php?id=71270 · Exploit
- www.openwall.com/lists/oss-security/2016/01/14/8
- www.securitytracker.com/id/1034608
- github.com/php/php-src/commit/2871c70efaaaa0f102557a17c727fd4d5204dd4b
- nvd.nist.gov/vuln/detail/CVE-2016-1904
- cve.org/CVERecord?id=CVE-2016-1904
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.