CVE-2016-6520

Source
https://cve.org/CVERecord?id=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
2026-08-18T09:41:06Z
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
Fixed
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "7.0.0-0"
        },
        {
            "fixed":  "7.0.2-7"
        }
    ],
    "source":  [
        "CPE_RANGE",
        "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-2
7.0.2-3
7.0.2-4
7.0.2-5
7.0.2-6

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-6520.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "126857360410016675314037605434420344596",
                "75025569001867592473806576716471535181",
                "72315035866173016781131131230544606355",
                "73121592123894946659324014190844493595",
                "34864395629329246848656940620374287148",
                "144320124381467878368218771274536500937",
                "250863954894678647761798907477070958038",
                "95888149968214810741726644230469612235"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2016-6520-7443e8d5",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/imagemagick/imagemagick/commit/76401e172ea3a55182be2b8e2aca4d07270f6da6",
        "target":  {
            "file":  "MagickCore/enhance.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "86100828383435080084484997568900046140",
            "length":  5903
        },
        "id":  "CVE-2016-6520-9c884187",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/imagemagick/imagemagick/commit/76401e172ea3a55182be2b8e2aca4d07270f6da6",
        "target":  {
            "file":  "MagickCore/enhance.c",
            "function":  "ContrastStretchImage"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "308998591133831409350954514066461080081",
            "length":  5638
        },
        "id":  "CVE-2016-6520-d58ea54b",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/imagemagick/imagemagick/commit/76401e172ea3a55182be2b8e2aca4d07270f6da6",
        "target":  {
            "file":  "MagickCore/enhance.c",
            "function":  "EqualizeImage"
        }
    }
]
vanir_signatures_modified
"2026-08-18T09:41:06Z"