CVE-2017-12640

Source
https://cve.org/CVERecord?id=CVE-2017-12640
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-12640.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2017-12640
Downstream
DEBIAN (1)
MGASA (1)
SUSE (3)
UBUNTU (1)
Related
Published
2017-08-07T15:29:00Z
Modified
2026-08-07T16:50:28Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

ImageMagick 7.0.6-1 has an out-of-bounds read vulnerability in ReadOneMNGImage in coders/png.c.

Database specific
{
    "unresolved_ranges":  [
        {
            "cpes":  [
                "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
                "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "8.0"
                },
                {
                    "last_affected":  "8.0"
                },
                {
                    "introduced":  "9.0"
                },
                {
                    "last_affected":  "9.0"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "debian:debian_linux"
        }
    ]
}
References

Affected packages

Git / github.com/imagemagick/imagemagick

Affected ranges

Type
GIT
Repo
https://github.com/imagemagick/imagemagick
Events
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:imagemagick:imagemagick:7.0.6-1:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "7.0.6-1"
        },
        {
            "last_affected":  "7.0.6-1"
        }
    ],
    "source":  [
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

7.*
7.0.6-1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-12640.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "36244493604687856662586930448989595769",
            "length":  46724
        },
        "id":  "CVE-2017-12640-d10ad556",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/imagemagick/imagemagick/commit/307fa45d512641fcd105f0d57ca50c1437cd1b81",
        "target":  {
            "file":  "coders/png.c",
            "function":  "ReadOneMNGImage"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "152853999237181391986133234558635795508",
                "63158914722812412835756768275409076630",
                "258829486961669500152028542393678270907",
                "74120493628515550250525474420513271129"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2017-12640-ee513c59",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/imagemagick/imagemagick/commit/307fa45d512641fcd105f0d57ca50c1437cd1b81",
        "target":  {
            "file":  "coders/png.c"
        }
    }
]
vanir_signatures_modified
"2026-08-07T16:50:28Z"