CVE-2017-5511

Source
https://cve.org/CVERecord?id=CVE-2017-5511
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-5511.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2017-5511
Downstream
Related
Published
2017-03-24T15:59:01.217Z
Modified
2026-04-16T01:40:35.662427303Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

coders/psd.c in ImageMagick allows remote attackers to have unspecified impact by leveraging an improper cast, which triggers a heap-based buffer overflow.

Database specific
{
    "unresolved_ranges": [
        {
            "cpe": "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
            "extracted_events": [
                {
                    "last_affected": "8.0"
                }
            ],
            "source": "CPE_FIELD"
        },
        {
            "cpe": "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*",
            "extracted_events": [
                {
                    "last_affected": "9.0"
                }
            ],
            "source": "CPE_FIELD"
        }
    ]
}
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
Fixed
Fixed
Database specific
{
    "cpe": "cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "7.0.0-0"
        },
        {
            "fixed": "7.0.4-3"
        }
    ],
    "source": [
        "CPE_FIELD",
        "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-2

Database specific

vanir_signatures
[
    {
        "id": "CVE-2017-5511-830384aa",
        "signature_type": "Function",
        "source": "https://github.com/imagemagick/imagemagick/commit/c8c6a0f123d5e35c173125365c97e2c0fc7eca42",
        "target": {
            "file": "coders/psd.c",
            "function": "ReadPSDLayers"
        },
        "signature_version": "v1",
        "deprecated": false,
        "digest": {
            "function_hash": "207190205193003344134843830923205533082",
            "length": 9561.0
        }
    },
    {
        "id": "CVE-2017-5511-a21e37ff",
        "signature_type": "Line",
        "source": "https://github.com/imagemagick/imagemagick/commit/7d65a814ac76bd04760072c33e452371692ee790",
        "target": {
            "file": "coders/psd.c"
        },
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "55333466805757615948444201931126478586",
                "258270942984056464144309545899758896064",
                "181448018341567449197984181109794542604",
                "119621760174390715003956062007110637088"
            ],
            "threshold": 0.9
        }
    },
    {
        "id": "CVE-2017-5511-ab77d3ba",
        "signature_type": "Function",
        "digest": {
            "function_hash": "318264408446617041452145003355556413784",
            "length": 9546.0
        },
        "target": {
            "file": "coders/psd.c",
            "function": "ReadPSDLayers"
        },
        "signature_version": "v1",
        "deprecated": false,
        "source": "https://github.com/imagemagick/imagemagick/commit/7d65a814ac76bd04760072c33e452371692ee790"
    },
    {
        "id": "CVE-2017-5511-b048e104",
        "signature_type": "Line",
        "digest": {
            "line_hashes": [
                "55333466805757615948444201931126478586",
                "258270942984056464144309545899758896064",
                "181448018341567449197984181109794542604",
                "119621760174390715003956062007110637088"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "coders/psd.c"
        },
        "signature_version": "v1",
        "deprecated": false,
        "source": "https://github.com/imagemagick/imagemagick/commit/c8c6a0f123d5e35c173125365c97e2c0fc7eca42"
    }
]
vanir_signatures_modified
"2026-04-11T18:30:05Z"
source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-5511.json"

Git / github.com/imagemagick/imagemagick6

Affected ranges

Type
GIT
Repo
https://github.com/imagemagick/imagemagick6
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "cpe": "cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "6.9.7-3"
        }
    ],
    "source": "CPE_FIELD"
}

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

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-5511.json"