CVE-2017-9141

Source
https://nvd.nist.gov/vuln/detail/CVE-2017-9141
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-9141.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2017-9141
Downstream
Related
Published
2017-05-22T14:29:00Z
Modified
2025-10-21T04:23:05.277358Z
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.

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

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

vanir_signatures

[
    {
        "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
        }
    }
]