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

EPSS: 0.026 (84.0th percentile) — read the EPSS interpretation.

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.

Affected products

  • Php — versions 5.6.0, 5.6.1, 5.6.2
  • N/a — versions n/a

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.