CVE-2016-5095

HIGH

PHP < 5.5.36 and 5.6.x < 5.6.22 - Integer Overflow in php_escape_html_entities_ex

Title source: llm
STIX 2.1

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.

References (6)

Core 6
Core References
Release Notes mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2016/05/26/3
Third Party Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2016/dsa-3602
Release Notes x_refsource_confirm
http://php.net/ChangeLog-5.php
Various Sources x_refsource_confirm
https://bugs.php.net/bug.php?id=72135
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/92144
Various Sources x_refsource_confirm
https://gist.github.com/8ef775c117d84ff15185953990a28576

Scores

CVSS v3 8.6
EPSS 0.0095
EPSS Percentile 76.6%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H

Details

CWE
CWE-190
Status published
Products (23)
php/php 5.6.0 alpha1 (9 CPE variants)
php/php 5.6.1
php/php 5.6.2
php/php 5.6.3
php/php 5.6.4
php/php 5.6.5
php/php 5.6.6
php/php 5.6.7
php/php 5.6.8
php/php 5.6.9
... and 13 more
Published Aug 07, 2016
Tracked Since Feb 18, 2026