CVE-2017-13143

Source
https://cve.org/CVERecord?id=CVE-2017-13143
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-13143.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2017-13143
Downstream
Related
Published
2017-08-23T06:29:00.340Z
Modified
2026-03-15T22:14:57.301419Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

In ImageMagick before 6.9.7-6 and 7.x before 7.0.4-6, the ReadMATImage function in coders/mat.c uses uninitialized data, which might allow remote attackers to obtain sensitive information from process memory.

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
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.1-0"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.1-1"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.1-2"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.1-3"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.1-4"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.1-5"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.1-6"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.1-7"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.1-8"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.1-9"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.1-10"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.2-0"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.2-1"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.2-2"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.2-3"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.2-4"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.2-5"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.2-6"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.2-7"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.2-8"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.2-9"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.2-10"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.3-0"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.3-1"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.3-2"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.3-3"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.3-4"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.3-5"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.3-6"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.3-7"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.3-8"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.3-9"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.3-10"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.4-0"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.4-1"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.4-2"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.4-3"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.4-4"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.4-5"
        }
    ]
}
Type
GIT
Repo
https://github.com/imagemagick/imagemagick6
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "6.9.7-5"
        }
    ]
}

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
6.9.7-4
6.9.7-5
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
7.0.4-4
7.0.4-5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-13143.json"
vanir_signatures
[
    {
        "signature_version": "v1",
        "target": {
            "file": "coders/mat.c"
        },
        "source": "https://github.com/imagemagick/imagemagick/commit/51b0ae01709adc1e4a9245e158ef17b85a110960",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "20662938386431963903059203495908790774",
                "6112105038936826030440459592959447312",
                "105585589862511746932701877208014814379",
                "318116630817013109098708747648370231226"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2017-13143-400aace6",
        "signature_type": "Line"
    },
    {
        "signature_version": "v1",
        "target": {
            "file": "coders/mat.c",
            "function": "ReadMATImage"
        },
        "source": "https://github.com/imagemagick/imagemagick/commit/51b0ae01709adc1e4a9245e158ef17b85a110960",
        "deprecated": false,
        "digest": {
            "function_hash": "51831393701131582908251375804939290330",
            "length": 11305.0
        },
        "id": "CVE-2017-13143-80093cc5",
        "signature_type": "Function"
    }
]