What’s Vulnerable › Vulnerabilities
CVE-2016-5095
- Severity: high (CVSS 8.6 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2016-08-07 · updated 2026-06-17
- Weakness: CWE-190
Description
Integer overflow in the php_escape_html_entities_ex function in ext/standard/html.c in PHP before 5.5.36 and 5.6.x before 5.6.22 allows remote attackers to cause a denial of service or possibly have unspecified other impact by triggering a large output string from a FILTER_SANITIZE_FULL_SPECIAL_CHARS filter_var call. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-5094.
Affected products
- PHP: through 5.5.35; 5.6.0-alpha1, 5.6.0-alpha2, 5.6.0-alpha3, 5.6.0-alpha4, 5.6.0-alpha5, 5.6.0-beta1 (+24)
References
- http://php.net/ChangeLog-5.php
- http://www.debian.org/security/2016/dsa-3602
- http://www.openwall.com/lists/oss-security/2016/05/26/3
- http://www.securityfocus.com/bid/92144
- https://bugs.php.net/bug.php?id=72135
- https://gist.github.com/8ef775c117d84ff15185953990a28576
- http://php.net/ChangeLog-5.php
- http://www.debian.org/security/2016/dsa-3602
- http://www.openwall.com/lists/oss-security/2016/05/26/3
- http://www.securityfocus.com/bid/92144
- https://bugs.php.net/bug.php?id=72135
- https://gist.github.com/8ef775c117d84ff15185953990a28576
Get alerted when CVE-2016-5095 or the next vulnerability affects your stack