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 trend (30 days)EPSS over the last 30 days for CVE-2016-5095: held from 0.026 to 0.026.

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

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.