CVE-2017-12643

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

ImageMagick 7.0.6-1 has a memory exhaustion vulnerability in ReadOneJNGImage 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-12643.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "236916887990210647631213773343813750246",
            "length":  14021
        },
        "id":  "CVE-2017-12643-45cb1df4",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/imagemagick/imagemagick/commit/d9ccd8227c4c88a907cda5278408b73552cb0c07",
        "target":  {
            "file":  "coders/png.c",
            "function":  "ReadOneJNGImage"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "14752931569980073394784456081876890468",
            "length":  46785
        },
        "id":  "CVE-2017-12643-c0f99537",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/imagemagick/imagemagick/commit/d9ccd8227c4c88a907cda5278408b73552cb0c07",
        "target":  {
            "file":  "coders/png.c",
            "function":  "ReadOneMNGImage"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "265440451045956457731026798407789602809",
                "79519851578672563808845480318032307392",
                "270938159120395691492556393514530828862",
                "171853395571028274488449297369259530392",
                "265440451045956457731026798407789602809",
                "263388957291619944839097022246535852055",
                "270938159120395691492556393514530828862",
                "171853395571028274488449297369259530392",
                "255612868579660011794490102239201310145",
                "189752630443036866650888949279665783213",
                "235776829183873996185536137474914945649",
                "132604844669900544833523755852710740552",
                "108523780531269009496467286403460853297"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2017-12643-fac2f870",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/imagemagick/imagemagick/commit/d9ccd8227c4c88a907cda5278408b73552cb0c07",
        "target":  {
            "file":  "coders/png.c"
        }
    }
]
vanir_signatures_modified
"2026-08-07T16:50:28Z"