Integer overflow in PHP
CVE-2016-5095
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.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.6 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H.
EPSS exploit prediction
EPSS: 0.026 (85.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 85th percentile — 85.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.026 · newest: 0.026 · change: 0.000
Affected products
- PHP — versions 5.6.0, 5.6.1, 5.6.2
Weakness classification (CWE)
Public proof-of-concept exploits
References
- www.openwall.com/lists/oss-security/2016/05/26/3 (mailing-list, Release Notes)
- www.debian.org/security/2016/dsa-3602 (vendor-advisory)
- php.net/ChangeLog-5.php (Release Notes)
- bugs.php.net/bug.php
- www.securityfocus.com/bid/92144 (vdb-entry)
- gist.github.com/8ef775c117d84ff15185953990a28576
Frequently asked questions
- What is CVE-2016-5095?
- CVE-2016-5095 is a high-severity vulnerability in PHP, classified under Integer Overflow or Wraparound. CVSS score: 8.6/10. Published 2016-08-07.
- How severe is CVE-2016-5095?
- High severity. CVSS v3 base score is 8.6 out of 10.
- Is CVE-2016-5095 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.