Memory leak in coders/mpc.c in ImageMagick before 6.9.7-4 and 7.x before 7.0.4-4 allows remote attackers to cause a denial of service (memory consumption) via vectors involving a pixel cache.
{
"unresolved_ranges": [
{
"extracted_events": [
{
"introduced": "8.0"
},
{
"last_affected": "8.0"
},
{
"introduced": "9.0"
},
{
"last_affected": "9.0"
}
],
"cpes": [
"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
],
"source": "CPE_STRING",
"vendor_product": "debian:debian_linux"
},
{
"extracted_events": [
{
"introduced": "7.0.1-0"
},
{
"last_affected": "7.0.1-0"
},
{
"introduced": "7.0.1-0"
},
{
"last_affected": "7.0.1-0"
},
{
"introduced": "7.0.1-1"
},
{
"last_affected": "7.0.1-1"
},
{
"introduced": "7.0.1-1"
},
{
"last_affected": "7.0.1-1"
},
{
"introduced": "7.0.1-2"
},
{
"last_affected": "7.0.1-2"
},
{
"introduced": "7.0.1-2"
},
{
"last_affected": "7.0.1-2"
},
{
"introduced": "7.0.1-3"
},
{
"last_affected": "7.0.1-3"
},
{
"introduced": "7.0.1-3"
},
{
"last_affected": "7.0.1-3"
},
{
"introduced": "7.0.1-4"
},
{
"last_affected": "7.0.1-4"
},
{
"introduced": "7.0.1-4"
},
{
"last_affected": "7.0.1-4"
},
{
"introduced": "7.0.1-5"
},
{
"last_affected": "7.0.1-5"
},
{
"introduced": "7.0.1-5"
},
{
"last_affected": "7.0.1-5"
},
{
"introduced": "7.0.1-6"
},
{
"last_affected": "7.0.1-6"
},
{
"introduced": "7.0.1-6"
},
{
"last_affected": "7.0.1-6"
},
{
"introduced": "7.0.1-7"
},
{
"last_affected": "7.0.1-7"
},
{
"introduced": "7.0.1-7"
},
{
"last_affected": "7.0.1-7"
},
{
"introduced": "7.0.1-8"
},
{
"last_affected": "7.0.1-8"
},
{
"introduced": "7.0.1-8"
},
{
"last_affected": "7.0.1-8"
},
{
"introduced": "7.0.1-9"
},
{
"last_affected": "7.0.1-9"
},
{
"introduced": "7.0.1-9"
},
{
"last_affected": "7.0.1-9"
},
{
"introduced": "7.0.1-10"
},
{
"last_affected": "7.0.1-10"
},
{
"introduced": "7.0.1-10"
},
{
"last_affected": "7.0.1-10"
},
{
"introduced": "7.0.2-0"
},
{
"last_affected": "7.0.2-0"
},
{
"introduced": "7.0.2-0"
},
{
"last_affected": "7.0.2-0"
},
{
"introduced": "7.0.2-1"
},
{
"last_affected": "7.0.2-1"
},
{
"introduced": "7.0.2-1"
},
{
"last_affected": "7.0.2-1"
},
{
"introduced": "7.0.2-2"
},
{
"last_affected": "7.0.2-2"
},
{
"introduced": "7.0.2-2"
},
{
"last_affected": "7.0.2-2"
},
{
"introduced": "7.0.2-3"
},
{
"last_affected": "7.0.2-3"
},
{
"introduced": "7.0.2-3"
},
{
"last_affected": "7.0.2-3"
},
{
"introduced": "7.0.2-4"
},
{
"last_affected": "7.0.2-4"
},
{
"introduced": "7.0.2-4"
},
{
"last_affected": "7.0.2-4"
},
{
"introduced": "7.0.2-5"
},
{
"last_affected": "7.0.2-5"
},
{
"introduced": "7.0.2-5"
},
{
"last_affected": "7.0.2-5"
},
{
"introduced": "7.0.2-6"
},
{
"last_affected": "7.0.2-6"
},
{
"introduced": "7.0.2-6"
},
{
"last_affected": "7.0.2-6"
},
{
"introduced": "7.0.2-7"
},
{
"last_affected": "7.0.2-7"
},
{
"introduced": "7.0.2-7"
},
{
"last_affected": "7.0.2-7"
},
{
"introduced": "7.0.2-8"
},
{
"last_affected": "7.0.2-8"
},
{
"introduced": "7.0.2-8"
},
{
"last_affected": "7.0.2-8"
},
{
"introduced": "7.0.2-9"
},
{
"last_affected": "7.0.2-9"
},
{
"introduced": "7.0.2-9"
},
{
"last_affected": "7.0.2-9"
},
{
"introduced": "7.0.2-10"
},
{
"last_affected": "7.0.2-10"
},
{
"introduced": "7.0.2-10"
},
{
"last_affected": "7.0.2-10"
},
{
"introduced": "7.0.3-0"
},
{
"last_affected": "7.0.3-0"
},
{
"introduced": "7.0.3-0"
},
{
"last_affected": "7.0.3-0"
},
{
"introduced": "7.0.3-1"
},
{
"last_affected": "7.0.3-1"
},
{
"introduced": "7.0.3-1"
},
{
"last_affected": "7.0.3-1"
},
{
"introduced": "7.0.3-2"
},
{
"last_affected": "7.0.3-2"
},
{
"introduced": "7.0.3-2"
},
{
"last_affected": "7.0.3-2"
},
{
"introduced": "7.0.3-3"
},
{
"last_affected": "7.0.3-3"
},
{
"introduced": "7.0.3-3"
},
{
"last_affected": "7.0.3-3"
},
{
"introduced": "7.0.3-4"
},
{
"last_affected": "7.0.3-4"
},
{
"introduced": "7.0.3-4"
},
{
"last_affected": "7.0.3-4"
},
{
"introduced": "7.0.3-5"
},
{
"last_affected": "7.0.3-5"
},
{
"introduced": "7.0.3-5"
},
{
"last_affected": "7.0.3-5"
},
{
"introduced": "7.0.3-6"
},
{
"last_affected": "7.0.3-6"
},
{
"introduced": "7.0.3-6"
},
{
"last_affected": "7.0.3-6"
},
{
"introduced": "7.0.3-7"
},
{
"last_affected": "7.0.3-7"
},
{
"introduced": "7.0.3-7"
},
{
"last_affected": "7.0.3-7"
},
{
"introduced": "7.0.3-8"
},
{
"last_affected": "7.0.3-8"
},
{
"introduced": "7.0.3-8"
},
{
"last_affected": "7.0.3-8"
},
{
"introduced": "7.0.3-9"
},
{
"last_affected": "7.0.3-9"
},
{
"introduced": "7.0.3-9"
},
{
"last_affected": "7.0.3-9"
},
{
"introduced": "7.0.3-10"
},
{
"last_affected": "7.0.3-10"
},
{
"introduced": "7.0.3-10"
},
{
"last_affected": "7.0.3-10"
},
{
"introduced": "7.0.4-0"
},
{
"last_affected": "7.0.4-0"
},
{
"introduced": "7.0.4-0"
},
{
"last_affected": "7.0.4-0"
},
{
"introduced": "7.0.4-1"
},
{
"last_affected": "7.0.4-1"
},
{
"introduced": "7.0.4-1"
},
{
"last_affected": "7.0.4-1"
},
{
"introduced": "7.0.4-2"
},
{
"last_affected": "7.0.4-2"
},
{
"introduced": "7.0.4-2"
},
{
"last_affected": "7.0.4-2"
},
{
"introduced": "7.0.4-3"
},
{
"last_affected": "7.0.4-3"
},
{
"introduced": "7.0.4-3"
},
{
"last_affected": "7.0.4-3"
}
],
"cpes": [
"cpe:2.3:a:imagemagick:imagemagick:7.0.1-0:*:*:*:*:*:*:*",
"cpe:2.3:a:imagemagick:imagemagick:7.0.1-10:*:*:*:*:*:*:*",
"cpe:2.3:a:imagemagick:imagemagick:7.0.1-1:*:*:*:*:*:*:*",
"cpe:2.3:a:imagemagick:imagemagick:7.0.1-2:*:*:*:*:*:*:*",
"cpe:2.3:a:imagemagick:imagemagick:7.0.1-3:*:*:*:*:*:*:*",
"cpe:2.3:a:imagemagick:imagemagick:7.0.1-4:*:*:*:*:*:*:*",
"cpe:2.3:a:imagemagick:imagemagick:7.0.1-5:*:*:*:*:*:*:*",
"cpe:2.3:a:imagemagick:imagemagick:7.0.1-6:*:*:*:*:*:*:*",
"cpe:2.3:a:imagemagick:imagemagick:7.0.1-7:*:*:*:*:*:*:*",
"cpe:2.3:a:imagemagick:imagemagick:7.0.1-8:*:*:*:*:*:*:*",
"cpe:2.3:a:imagemagick:imagemagick:7.0.1-9:*:*:*:*:*:*:*",
"cpe:2.3:a:imagemagick:imagemagick:7.0.2-0:*:*:*:*:*:*:*",
"cpe:2.3:a:imagemagick:imagemagick:7.0.2-10:*:*:*:*:*:*:*",
"cpe:2.3:a:imagemagick:imagemagick:7.0.2-1:*:*:*:*:*:*:*",
"cpe:2.3:a:imagemagick:imagemagick:7.0.2-2:*:*:*:*:*:*:*",
"cpe:2.3:a:imagemagick:imagemagick:7.0.2-3:*:*:*:*:*:*:*",
"cpe:2.3:a:imagemagick:imagemagick:7.0.2-4:*:*:*:*:*:*:*",
"cpe:2.3:a:imagemagick:imagemagick:7.0.2-5:*:*:*:*:*:*:*",
"cpe:2.3:a:imagemagick:imagemagick:7.0.2-6:*:*:*:*:*:*:*",
"cpe:2.3:a:imagemagick:imagemagick:7.0.2-7:*:*:*:*:*:*:*",
"cpe:2.3:a:imagemagick:imagemagick:7.0.2-8:*:*:*:*:*:*:*",
"cpe:2.3:a:imagemagick:imagemagick:7.0.2-9:*:*:*:*:*:*:*",
"cpe:2.3:a:imagemagick:imagemagick:7.0.3-0:*:*:*:*:*:*:*",
"cpe:2.3:a:imagemagick:imagemagick:7.0.3-10:*:*:*:*:*:*:*",
"cpe:2.3:a:imagemagick:imagemagick:7.0.3-1:*:*:*:*:*:*:*",
"cpe:2.3:a:imagemagick:imagemagick:7.0.3-2:*:*:*:*:*:*:*",
"cpe:2.3:a:imagemagick:imagemagick:7.0.3-3:*:*:*:*:*:*:*",
"cpe:2.3:a:imagemagick:imagemagick:7.0.3-4:*:*:*:*:*:*:*",
"cpe:2.3:a:imagemagick:imagemagick:7.0.3-5:*:*:*:*:*:*:*",
"cpe:2.3:a:imagemagick:imagemagick:7.0.3-6:*:*:*:*:*:*:*",
"cpe:2.3:a:imagemagick:imagemagick:7.0.3-7:*:*:*:*:*:*:*",
"cpe:2.3:a:imagemagick:imagemagick:7.0.3-8:*:*:*:*:*:*:*",
"cpe:2.3:a:imagemagick:imagemagick:7.0.3-9:*:*:*:*:*:*:*",
"cpe:2.3:a:imagemagick:imagemagick:7.0.4-0:*:*:*:*:*:*:*",
"cpe:2.3:a:imagemagick:imagemagick:7.0.4-1:*:*:*:*:*:*:*",
"cpe:2.3:a:imagemagick:imagemagick:7.0.4-2:*:*:*:*:*:*:*",
"cpe:2.3:a:imagemagick:imagemagick:7.0.4-3:*:*:*:*:*:*:*"
],
"source": "CPE_STRING",
"vendor_product": "imagemagick:imagemagick"
}
]
}[
{
"signature_type": "Function",
"target": {
"file": "coders/mpc.c",
"function": "ReadMPCImage"
},
"deprecated": false,
"source": "https://github.com/imagemagick/imagemagick/commit/66e283e0a9c141b19fe6c4c39f4a41c0d3188ba8",
"signature_version": "v1",
"digest": {
"function_hash": "134089913129685398313415326197127193804",
"length": 15528.0
},
"id": "CVE-2017-5507-85add4dc"
},
{
"signature_type": "Line",
"target": {
"file": "coders/mpc.c"
},
"deprecated": false,
"source": "https://github.com/imagemagick/imagemagick/commit/66e283e0a9c141b19fe6c4c39f4a41c0d3188ba8",
"signature_version": "v1",
"digest": {
"line_hashes": [
"235068260403312473583557242822845788599",
"336689659180297995797261752244878037219",
"337037818429143664980077467779031869142",
"298863421609738096184247872654311894304",
"97109187775949992729378605100260437546",
"133885957698168651436356451494818108366",
"267886518092669647555075830832790937846",
"126595857771708925954175468798470877871",
"305374949747053751924033898562000872936",
"96111305491082728105403114843513246907",
"212187103501256089572623532315988454765",
"147511362682313850432527303787008646699",
"47221283043930850922410551256761784362",
"88352475925244746722683480734589522261"
],
"threshold": 0.9
},
"id": "CVE-2017-5507-b6e5fd7f"
}
]
"2026-07-11T18:19:20Z"
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-5507.json"
{
"cpe": "cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*",
"source": "CPE_RANGE",
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "6.9.7-3"
}
]
}