CVE-2016-6520

Source
https://nvd.nist.gov/vuln/detail/CVE-2016-6520
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-6520.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2016-6520
Downstream
Related
Published
2016-12-13T15:59:10Z
Modified
2025-10-15T08:17:55.110911Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
[none]
Details

Buffer overflow in MagickCore/enhance.c in ImageMagick before 7.0.2-7 allows remote attackers to have unspecified impact via vectors related to pixel cache morphology.

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-2
7.0.2-3
7.0.2-4
7.0.2-5
7.0.2-6

Database specific

vanir_signatures

[
    {
        "signature_type": "Line",
        "deprecated": false,
        "source": "https://github.com/imagemagick/imagemagick/commit/76401e172ea3a55182be2b8e2aca4d07270f6da6",
        "signature_version": "v1",
        "target": {
            "file": "MagickCore/enhance.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "126857360410016675314037605434420344596",
                "75025569001867592473806576716471535181",
                "72315035866173016781131131230544606355",
                "73121592123894946659324014190844493595",
                "34864395629329246848656940620374287148",
                "144320124381467878368218771274536500937",
                "250863954894678647761798907477070958038",
                "95888149968214810741726644230469612235"
            ]
        },
        "id": "CVE-2016-6520-7443e8d5"
    },
    {
        "signature_type": "Function",
        "deprecated": false,
        "source": "https://github.com/imagemagick/imagemagick/commit/76401e172ea3a55182be2b8e2aca4d07270f6da6",
        "signature_version": "v1",
        "target": {
            "function": "ContrastStretchImage",
            "file": "MagickCore/enhance.c"
        },
        "digest": {
            "function_hash": "86100828383435080084484997568900046140",
            "length": 5903.0
        },
        "id": "CVE-2016-6520-9c884187"
    },
    {
        "signature_type": "Function",
        "deprecated": false,
        "source": "https://github.com/imagemagick/imagemagick/commit/76401e172ea3a55182be2b8e2aca4d07270f6da6",
        "signature_version": "v1",
        "target": {
            "function": "EqualizeImage",
            "file": "MagickCore/enhance.c"
        },
        "digest": {
            "function_hash": "308998591133831409350954514066461080081",
            "length": 5638.0
        },
        "id": "CVE-2016-6520-d58ea54b"
    }
]