CVE-2017-9141

Source
https://cve.org/CVERecord?id=CVE-2017-9141
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-9141.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2017-9141
Downstream
Related
Published
2017-05-22T14:29:00.277Z
Modified
2026-07-11T18:19:28.832425Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

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.5-7"
                },
                {
                    "last_affected": "7.0.5-7"
                },
                {
                    "introduced": "7.0.5-7"
                },
                {
                    "last_affected": "7.0.5-7"
                }
            ],
            "cpes": [
                "cpe:2.3:a:imagemagick:imagemagick:7.0.5-7:*:*:*:*:*:*:*"
            ],
            "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-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-2
7.0.5-3
7.0.5-4
7.0.5-5
7.0.5-6

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-9141.json"
vanir_signatures
[
    {
        "target": {
            "function": "ReadDDSImage",
            "file": "coders/dds.c"
        },
        "source": "https://github.com/imagemagick/imagemagick/commit/0c5b1e430a83ef793a7334bbbee408cf3c628699",
        "signature_type": "Function",
        "id": "CVE-2017-9141-364b5d40",
        "digest": {
            "length": 3240.0,
            "function_hash": "83983679234188540696518854139689963479"
        },
        "signature_version": "v1",
        "deprecated": false
    },
    {
        "target": {
            "file": "coders/dds.c"
        },
        "source": "https://github.com/imagemagick/imagemagick/commit/0c5b1e430a83ef793a7334bbbee408cf3c628699",
        "signature_type": "Line",
        "id": "CVE-2017-9141-c62df196",
        "digest": {
            "line_hashes": [
                "248570428732949043435064142767813354254",
                "158664975427192216473556898172880150546",
                "68796732867380473711321235687599558185",
                "311498270365192628192702120609638769036",
                "150556614640819044552186887188658684139",
                "246485279555736534461176830898208869680",
                "13023109673979784560264725473595682662",
                "284046956401340178747207904686916775327",
                "328123393476471734173960053534275479996",
                "339926302636597275426743941660666455653",
                "162663923118559096300190160381444775188",
                "99346613321857591102735988260822914270",
                "299101619371434253784867922377229626374"
            ],
            "threshold": 0.9
        },
        "signature_version": "v1",
        "deprecated": false
    }
]
vanir_signatures_modified
"2026-07-11T18:19:28Z"