CVE-2016-10058

Source
https://nvd.nist.gov/vuln/detail/CVE-2016-10058
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-10058.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2016-10058
Downstream
Related
Published
2017-03-23T17:59:00Z
Modified
2025-09-19T08:06:16.554044Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

Memory leak in the ReadPSDLayers function in coders/psd.c in ImageMagick before 6.9.6-3 allows remote attackers to cause a denial of service (memory consumption) via a crafted image file.

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
Type
GIT
Repo
https://github.com/imagemagick/imagemagick6
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected

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

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-2
7.0.3-3
7.0.3-4

Database specific

{
    "vanir_signatures": [
        {
            "target": {
                "file": "coders/psd.c"
            },
            "signature_type": "Line",
            "source": "https://github.com/imagemagick/imagemagick/commit/47e8e6ceef979327614d0b8f0c76c6ecb18e09cf",
            "id": "CVE-2016-10058-79e979b1",
            "signature_version": "v1",
            "deprecated": false,
            "digest": {
                "line_hashes": [
                    "326924582903443481251878225363754558911",
                    "147990312674149317145581600390021292608",
                    "121460852705903397707857966039291968575",
                    "100264852235503213349979973628400120018"
                ],
                "threshold": 0.9
            }
        },
        {
            "target": {
                "file": "coders/psd.c"
            },
            "signature_type": "Line",
            "source": "https://github.com/imagemagick/imagemagick/commit/4ec444f4eab88cf4bec664fafcf9cab50bc5ff6a",
            "id": "CVE-2016-10058-7a544771",
            "signature_version": "v1",
            "deprecated": false,
            "digest": {
                "line_hashes": [
                    "326924582903443481251878225363754558911",
                    "147990312674149317145581600390021292608",
                    "121460852705903397707857966039291968575",
                    "100264852235503213349979973628400120018"
                ],
                "threshold": 0.9
            }
        },
        {
            "target": {
                "function": "ReadPSDLayers",
                "file": "coders/psd.c"
            },
            "signature_type": "Function",
            "source": "https://github.com/imagemagick/imagemagick/commit/4ec444f4eab88cf4bec664fafcf9cab50bc5ff6a",
            "id": "CVE-2016-10058-8a63e0b2",
            "signature_version": "v1",
            "deprecated": false,
            "digest": {
                "function_hash": "338975964875081985472926941847734116875",
                "length": 9448.0
            }
        },
        {
            "target": {
                "function": "ReadPSDLayers",
                "file": "coders/psd.c"
            },
            "signature_type": "Function",
            "source": "https://github.com/imagemagick/imagemagick/commit/47e8e6ceef979327614d0b8f0c76c6ecb18e09cf",
            "id": "CVE-2016-10058-dda794fc",
            "signature_version": "v1",
            "deprecated": false,
            "digest": {
                "function_hash": "147982455886578044050352910075173953081",
                "length": 9463.0
            }
        }
    ]
}