CVE-2017-11523

Source
https://cve.org/CVERecord?id=CVE-2017-11523
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-11523.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2017-11523
Downstream
Related
Published
2017-07-22T21:29:00.227Z
Modified
2026-03-15T21:52:54.074305Z
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 ReadTXTImage function in coders/txt.c in ImageMagick through 6.9.9-0 and 7.x through 7.0.6-1 allows remote attackers to cause a denial of service (infinite loop) via a crafted file, because the end-of-file condition is not considered.

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
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
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"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.4-6"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.4-7"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.4-8"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.4-9"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.4-10"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.5-0"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.5-1"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.5-4"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.5-5"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.5-6"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.5-7"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.5-8"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.6-1"
        }
    ]
}
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.9-0"
        }
    ]
}

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-10
6.9.7-2
6.9.7-3
6.9.7-4
6.9.7-5
6.9.7-6
6.9.7-7
6.9.7-8
6.9.7-9
6.9.8-0
6.9.8-1
6.9.8-10
6.9.8-2
6.9.8-3
6.9.8-4
6.9.8-5
6.9.8-6
6.9.8-7
6.9.8-8
6.9.8-9
6.9.9-0
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

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-11523.json"
unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "7.0.0-0"
            }
        ]
    }
]
vanir_signatures
[
    {
        "signature_version": "v1",
        "target": {
            "file": "coders/txt.c",
            "function": "ReadTXTImage"
        },
        "source": "https://github.com/imagemagick/imagemagick/commit/83e0f8ffd7eeb7661b0ff83257da23d24ca7f078",
        "deprecated": false,
        "digest": {
            "function_hash": "180450710608254866013109915597773917175",
            "length": 4686.0
        },
        "id": "CVE-2017-11523-496f734f",
        "signature_type": "Function"
    },
    {
        "signature_version": "v1",
        "target": {
            "file": "coders/txt.c",
            "function": "ReadTXTImage"
        },
        "source": "https://github.com/imagemagick/imagemagick/commit/a8f9c2aabed37cd6a728532d1aed13ae0f3dfd78",
        "deprecated": false,
        "digest": {
            "function_hash": "45638996093977785176899829879588104286",
            "length": 4816.0
        },
        "id": "CVE-2017-11523-4a23aa6d",
        "signature_type": "Function"
    },
    {
        "signature_version": "v1",
        "target": {
            "file": "coders/txt.c"
        },
        "source": "https://github.com/imagemagick/imagemagick/commit/83e0f8ffd7eeb7661b0ff83257da23d24ca7f078",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "293132639550686252943777814893455938991",
                "24775840811269968812455041094876789355",
                "91952965131490362917776372869527975875",
                "43057554049194080852020751061738535897"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2017-11523-a34d393c",
        "signature_type": "Line"
    },
    {
        "signature_version": "v1",
        "target": {
            "file": "coders/txt.c"
        },
        "source": "https://github.com/imagemagick/imagemagick/commit/a8f9c2aabed37cd6a728532d1aed13ae0f3dfd78",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "293132639550686252943777814893455938991",
                "24775840811269968812455041094876789355",
                "91952965131490362917776372869527975875",
                "43057554049194080852020751061738535897"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2017-11523-c0485d9c",
        "signature_type": "Line"
    }
]