CVE-2016-5095
Severity CVSS v4.0:
Pending analysis
Type:
CWE-190
Integer Overflow or Wraparound
Publication date:
07/08/2016
Last modified:
12/04/2025
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.
Impact
Base Score 3.x
8.60
Severity 3.x
HIGH
Base Score 2.0
7.50
Severity 2.0
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 5.5.35 (including) | |
| cpe:2.3:a:php:php:5.6.0:alpha1:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.6.0:alpha2:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.6.0:alpha3:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.6.0:alpha4:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.6.0:alpha5:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.6.0:beta1:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.6.0:beta2:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.6.0:beta3:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.6.0:beta4:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.6.1:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.6.2:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.6.3:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.6.4:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:5.6.5:*:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- 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



