Out-of-bounds Read in PHP

CVE-2016-5093

The get_icu_value_internal function in ext/intl/locale/locale_methods.c in PHP before 5.5.36, 5.6.x before 5.6.22, and 7.x before 7.0.7 does not ensure the presence of a '\0' character, which allows remote attackers to cause a denial of service (out-of-bounds read) or possibly have unspecified other impact via a crafted locale_get_primary_language call.

Vulnerability class: Buffer 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.053, 92.8th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • PHP — versions 5.6.0, 5.6.1, 5.6.2

Weakness classification (CWE)

References