CVE-2017-12427

Source
https://nvd.nist.gov/vuln/detail/CVE-2017-12427
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-12427.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2017-12427
Downstream
Related
Published
2017-08-04T09:29:00Z
Modified
2025-10-15T08:42:22.395323Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

The ProcessMSLScript function in coders/msl.c in ImageMagick before 6.9.9-5 and 7.x before 7.0.6-5 allows remote attackers to cause a denial of service (memory leak) via a crafted file, related to the WriteMSLImage function.

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
Type
GIT
Repo
https://github.com/imagemagick/imagemagick6
Events
Introduced
0 Unknown introduced commit / All previous commits are affected

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-10
7.0.4-2
7.0.4-3
7.0.4-4
7.0.4-5
7.0.4-6
7.0.4-7
7.0.4-8
7.0.4-9
7.0.5-0
7.0.5-1
7.0.5-10
7.0.5-2
7.0.5-3
7.0.5-4
7.0.5-5
7.0.5-6
7.0.5-7
7.0.5-8
7.0.5-9
7.0.6-0
7.0.6-1
7.0.6-2
7.0.6-3
7.0.6-4

Database specific

vanir_signatures

[
    {
        "signature_type": "Function",
        "deprecated": false,
        "source": "https://github.com/imagemagick/imagemagick/commit/e793eb203e5e0f91f5037aed6585e81b1e27395b",
        "signature_version": "v1",
        "target": {
            "function": "ProcessMSLScript",
            "file": "coders/msl.c"
        },
        "digest": {
            "function_hash": "178126783451469849177725589209241154981",
            "length": 3768.0
        },
        "id": "CVE-2017-12427-35a6cf18"
    },
    {
        "signature_type": "Line",
        "deprecated": false,
        "source": "https://github.com/imagemagick/imagemagick/commit/e793eb203e5e0f91f5037aed6585e81b1e27395b",
        "signature_version": "v1",
        "target": {
            "file": "coders/msl.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "8601404238236531662726788602163849012",
                "145843981946109050953872077045119241523",
                "254370166639936039239312264299685601372",
                "240953919199291063065870971722109065915",
                "183987672103320698579217827613630709099",
                "60528280462233631432627297339848396105",
                "308604852975117719479496011588647585476",
                "206813332596571637441273548324282295006",
                "138967757876837435493534809310636669045",
                "311600697651132885523154418107316931691"
            ]
        },
        "id": "CVE-2017-12427-97bbabe6"
    }
]