CVE-2017-12643

Source
https://cve.org/CVERecord?id=CVE-2017-12643
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-12643.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2017-12643
Downstream
Related
Published
2017-08-07T15:29:00.423Z
Modified
2026-07-11T18:15:05.648571Z
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"
                }
            ],
            "vendor_product": "debian:debian_linux",
            "source": "CPE_STRING"
        },
        {
            "cpes": [
                "cpe:2.3:a:imagemagick:imagemagick:7.0.6-1:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "introduced": "7.0.6-1"
                },
                {
                    "last_affected": "7.0.6-1"
                },
                {
                    "introduced": "7.0.6-1"
                },
                {
                    "last_affected": "7.0.6-1"
                }
            ],
            "vendor_product": "imagemagick:imagemagick",
            "source": "CPE_STRING"
        }
    ]
}
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
Database specific
{
    "source": "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-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-10
7.0.3-2
7.0.3-3
7.0.3-4
7.0.3-5
7.0.3-6
7.0.3-7
7.0.3-8
7.0.3-9
7.0.4-0
7.0.4-1
7.0.4-10
7.0.4-2
7.0.4-3
7.0.4-4
7.0.4-5
7.0.4-6
7.0.4-7
7.0.4-8
7.0.4-9
7.0.5-0
7.0.5-1
7.0.5-10
7.0.5-2
7.0.5-3
7.0.5-4
7.0.5-5
7.0.5-6
7.0.5-7
7.0.5-8
7.0.5-9
7.0.6-0

Database specific

vanir_signatures
[
    {
        "signature_type": "Function",
        "digest": {
            "function_hash": "236916887990210647631213773343813750246",
            "length": 14021.0
        },
        "target": {
            "file": "coders/png.c",
            "function": "ReadOneJNGImage"
        },
        "signature_version": "v1",
        "id": "CVE-2017-12643-45cb1df4",
        "source": "https://github.com/imagemagick/imagemagick/commit/d9ccd8227c4c88a907cda5278408b73552cb0c07",
        "deprecated": false
    },
    {
        "signature_type": "Function",
        "digest": {
            "function_hash": "14752931569980073394784456081876890468",
            "length": 46785.0
        },
        "target": {
            "file": "coders/png.c",
            "function": "ReadOneMNGImage"
        },
        "signature_version": "v1",
        "id": "CVE-2017-12643-c0f99537",
        "source": "https://github.com/imagemagick/imagemagick/commit/d9ccd8227c4c88a907cda5278408b73552cb0c07",
        "deprecated": false
    },
    {
        "signature_type": "Line",
        "digest": {
            "line_hashes": [
                "265440451045956457731026798407789602809",
                "79519851578672563808845480318032307392",
                "270938159120395691492556393514530828862",
                "171853395571028274488449297369259530392",
                "265440451045956457731026798407789602809",
                "263388957291619944839097022246535852055",
                "270938159120395691492556393514530828862",
                "171853395571028274488449297369259530392",
                "255612868579660011794490102239201310145",
                "189752630443036866650888949279665783213",
                "235776829183873996185536137474914945649",
                "132604844669900544833523755852710740552",
                "108523780531269009496467286403460853297"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "coders/png.c"
        },
        "signature_version": "v1",
        "id": "CVE-2017-12643-fac2f870",
        "source": "https://github.com/imagemagick/imagemagick/commit/d9ccd8227c4c88a907cda5278408b73552cb0c07",
        "deprecated": false
    }
]
vanir_signatures_modified
"2026-07-11T18:15:05Z"
source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-12643.json"