sapi/fpm/fpm/fpmlog.c in PHP before 5.5.31, 5.6.x before 5.6.17, and 7.x before 7.0.2 misinterprets the semantics of the snprintf return value, which allows attackers to obtain sensitive information from process memory or cause a denial of service (out-of-bounds read and buffer overflow) via a long string, as demonstrated by a long URI in a configuration with custom REQUESTURI logging.
{
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:php:php:5.6.0:alpha4:*:*:*:*:*:*",
"cpe:2.3:a:php:php:5.6.0:alpha5:*:*:*:*:*:*"
],
"source": "CPE_FIELD",
"vendor_product": "php:php",
"extracted_events": [
{
"last_affected": "5.6.0-alpha4"
},
{
"last_affected": "5.6.0-alpha5"
}
]
}
]
}