In ImageMagick 7.0.5-7 Q16, a crafted file could trigger an assertion failure in the ResetImageProfileIterator function in MagickCore/profile.c because of missing checks in the ReadDDSImage function in coders/dds.c.
[
{
"source": "https://github.com/imagemagick/imagemagick/commit/0c5b1e430a83ef793a7334bbbee408cf3c628699",
"target": {
"function": "ReadDDSImage",
"file": "coders/dds.c"
},
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2017-9141-364b5d40",
"digest": {
"function_hash": "83983679234188540696518854139689963479",
"length": 3240.0
}
},
{
"source": "https://github.com/imagemagick/imagemagick/commit/0c5b1e430a83ef793a7334bbbee408cf3c628699",
"target": {
"file": "coders/dds.c"
},
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2017-9141-c62df196",
"digest": {
"line_hashes": [
"248570428732949043435064142767813354254",
"158664975427192216473556898172880150546",
"68796732867380473711321235687599558185",
"311498270365192628192702120609638769036",
"150556614640819044552186887188658684139",
"246485279555736534461176830898208869680",
"13023109673979784560264725473595682662",
"284046956401340178747207904686916775327",
"328123393476471734173960053534275479996",
"339926302636597275426743941660666455653",
"162663923118559096300190160381444775188",
"99346613321857591102735988260822914270",
"299101619371434253784867922377229626374"
],
"threshold": 0.9
}
}
]