The geticuvalueinternal function in ext/intl/locale/localemethods.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 localegetprimary_language call.
{
"versions": [
{
"introduced": "0"
},
{
"last_affected": "5.5.35"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.0-alpha1"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.0-alpha2"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.0-alpha3"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.0-beta1"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.0-beta2"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.0-beta3"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.0-beta4"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.1"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.2"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.3"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.4"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.5"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.6"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.7"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.8"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.9"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.10"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.11"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.12"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.13"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.14"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.15"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.16"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.17"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.18"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.19"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.20"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.21"
},
{
"introduced": "0"
},
{
"last_affected": "7.0.0"
},
{
"introduced": "0"
},
{
"last_affected": "7.0.1"
},
{
"introduced": "0"
},
{
"last_affected": "7.0.2"
},
{
"introduced": "0"
},
{
"last_affected": "7.0.3"
},
{
"introduced": "0"
},
{
"last_affected": "7.0.4"
},
{
"introduced": "0"
},
{
"last_affected": "7.0.5"
},
{
"introduced": "0"
},
{
"last_affected": "7.0.6"
}
]
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-5093.json"
[
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "267995480029817361019472882597289164152",
"length": 1745.0
},
"source": "https://github.com/php/php-src/commit/97eff7eb57fc2320c267a949cffd622c38712484",
"signature_type": "Function",
"id": "CVE-2016-5093-02917de3",
"target": {
"file": "ext/intl/locale/locale_methods.c",
"function": "get_icu_value_internal"
}
}
]
[
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "5.6.0-alpha4"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "5.6.0-alpha5"
}
]
}
]