CVE-2017-5507

Source
https://cve.org/CVERecord?id=CVE-2017-5507
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-5507.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2017-5507
Downstream
Related
Published
2017-03-24T15:59:01.027Z
Modified
2026-07-11T18:19:20.460831Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "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"
        }
    ]
}
References

Affected packages

Git / github.com/imagemagick/imagemagick

Affected ranges

Type
GIT
Repo
https://github.com/imagemagick/imagemagick
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": "REFERENCES"
}

Affected versions

7.*
7.0.1-0
7.0.1-1
7.0.1-10
7.0.1-2
7.0.1-3
7.0.1-4
7.0.1-5
7.0.1-6
7.0.1-7
7.0.1-8
7.0.1-9
7.0.2-0
7.0.2-1
7.0.2-10
7.0.2-2
7.0.2-3
7.0.2-4
7.0.2-5
7.0.2-6
7.0.2-7
7.0.2-8
7.0.2-9
7.0.3-0
7.0.3-1
7.0.3-10
7.0.3-2
7.0.3-3
7.0.3-4
7.0.3-5
7.0.3-6
7.0.3-7
7.0.3-8
7.0.3-9
7.0.4-0
7.0.4-1
7.0.4-2
7.0.4-3

Database specific

vanir_signatures
[
    {
        "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"
    }
]
vanir_signatures_modified
"2026-07-11T18:19:20Z"
source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-5507.json"

Git / github.com/imagemagick/imagemagick6

Affected ranges

Type
GIT
Repo
https://github.com/imagemagick/imagemagick6
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "cpe": "cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*",
    "source": "CPE_RANGE",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "6.9.7-3"
        }
    ]
}

Affected versions

6.*
6.9.4-0
6.9.4-1
6.9.4-10
6.9.4-2
6.9.4-3
6.9.4-4
6.9.4-5
6.9.4-6
6.9.4-7
6.9.4-8
6.9.4-9
6.9.5-0
6.9.5-1
6.9.5-10
6.9.5-2
6.9.5-3
6.9.5-4
6.9.5-5
6.9.5-6
6.9.5-7
6.9.5-8
6.9.5-9
6.9.6-0
6.9.6-1
6.9.6-2
6.9.6-3
6.9.6-4
6.9.6-5
6.9.6-6
6.9.6-7
6.9.6-8
6.9.7-0
6.9.7-1
6.9.7-2
6.9.7-3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-5507.json"