CVE-2017-12662

Source
https://cve.org/CVERecord?id=CVE-2017-12662
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-12662.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2017-12662
Downstream
DEBIAN (1)
SUSE (3)
UBUNTU (1)
Related
Published
2017-08-07T21:29:00Z
Modified
2026-08-07T16:50:34Z
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-2 has a memory leak vulnerability in WritePDFImage in coders/pdf.c.

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-2:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "7.0.6-2"
        },
        {
            "last_affected":  "7.0.6-2"
        }
    ],
    "source":  [
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

7.*
7.0.6-2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-12662.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "209648147439680799536164208007129637566",
            "length":  47492
        },
        "id":  "CVE-2017-12662-a0ca3e3c",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/imagemagick/imagemagick/commit/bd40cc5f53067322861b881485cbd70f509f3829",
        "target":  {
            "file":  "coders/pdf.c",
            "function":  "WritePDFImage"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "262713240857588198297543869369547118031",
                "324597284479844702237096376011841781917",
                "59969184702294046742818960858320763916",
                "207277949029396891506517216028207985432",
                "211186830916768807744920295224893816223",
                "304122978349532794200352615952628552940",
                "259237517369535398486874022511918915679",
                "308098927326024666737335025659096386841",
                "81483251600641205893240912801696513933"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2017-12662-fcddfeb2",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/imagemagick/imagemagick/commit/bd40cc5f53067322861b881485cbd70f509f3829",
        "target":  {
            "file":  "coders/pdf.c"
        }
    }
]
vanir_signatures_modified
"2026-08-07T16:50:34Z"