The gdImageCropThreshold function in gd_crop.c in the GD Graphics Library (aka libgd) before 2.2.3, as used in PHP before 7.0.9, allows remote attackers to cause a denial of service (application crash) via an invalid color index.
[
{
"id": "CVE-2016-6128-0ce6ddf1",
"source": "https://github.com/libgd/libgd/commit/1ccfe21e14c4d18336f9da8515cd17db88c3de61",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "gdImageCropThreshold",
"file": "src/gd_crop.c"
},
"digest": {
"function_hash": "234391009720094549110791023187180360736",
"length": 1365.0
},
"signature_type": "Function"
},
{
"id": "CVE-2016-6128-2db1fdc0",
"source": "https://github.com/libgd/libgd/commit/1ccfe21e14c4d18336f9da8515cd17db88c3de61",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "src/gd_crop.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"9126538461335498973293204557157608054",
"103533780240159628767177034044645754241",
"299426492980770477306086057184964756836"
]
},
"signature_type": "Line"
}
]