What’s Vulnerable › Vulnerabilities
CVE-2015-6527
- Severity: high (CVSS 7.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 3.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2016-01-19 · updated 2026-06-17
Description
The php_str_replace_in_subject function in ext/standard/string.c in PHP 7.x before 7.0.0 allows remote attackers to execute arbitrary code via a crafted value in the third argument to the str_ireplace function.
Affected products
- PHP: 7.0.0, 7.0.0-alpha1, 7.0.0-alpha2, 7.0.0-beta1, 7.0.0-beta2, 7.0.0-beta3 (+8)
References
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=6aeee47b2cd47915ccfa3b41433a3f57aea24dd5
- http://www.openwall.com/lists/oss-security/2015/07/30/11
- https://bugs.php.net/bug.php?id=70140
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=6aeee47b2cd47915ccfa3b41433a3f57aea24dd5
- http://www.openwall.com/lists/oss-security/2015/07/30/11
- https://bugs.php.net/bug.php?id=70140
Get alerted when CVE-2015-6527 or the next vulnerability affects your stack