ext/intl/msgformat/msgformat_format.c in PHP before 5.6.26 and 7.x before 7.0.11 does not properly restrict the locale length provided to the Locale class in the ICU library, which allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a MessageFormatter::formatMessage call with a long first argument.
[
{
"id": "CVE-2016-7416-2cf99e85",
"source": "https://github.com/php/php-src/commit/6d55ba265637d6adf0ba7e9c9ef11187d1ec2f5b",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"96548366782851008819462066995253530304",
"81215033887456045097085551404182667526",
"322963691190077253807159250948672257367"
]
},
"target": {
"file": "ext/intl/msgformat/msgformat_format.c"
}
},
{
"id": "CVE-2016-7416-3b8c4f1b",
"source": "https://github.com/php/php-src/commit/6d55ba265637d6adf0ba7e9c9ef11187d1ec2f5b",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "165865426150340620662842668822898722523",
"length": 1438.0
},
"target": {
"function": "PHP_FUNCTION",
"file": "ext/intl/msgformat/msgformat_format.c"
}
}
]