What’s Vulnerable › Vulnerabilities
CVE-2016-1904
- Severity: high (CVSS 7.3 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2016-01-19 · updated 2026-06-17
- Weakness: CWE-189
Description
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: 7.0.0, 7.0.1
References
- http://www.openwall.com/lists/oss-security/2016/01/14/8
- http://www.php.net/ChangeLog-7.php
- http://www.securitytracker.com/id/1034608
- https://bugs.php.net/bug.php?id=71270
- https://github.com/php/php-src/commit/2871c70efaaaa0f102557a17c727fd4d5204dd4b
- http://www.openwall.com/lists/oss-security/2016/01/14/8
- http://www.php.net/ChangeLog-7.php
- http://www.securitytracker.com/id/1034608
- https://bugs.php.net/bug.php?id=71270
- https://github.com/php/php-src/commit/2871c70efaaaa0f102557a17c727fd4d5204dd4b
Get alerted when CVE-2016-1904 or the next vulnerability affects your stack