CVE-2016-5688

Source
https://cve.org/CVERecord?id=CVE-2016-5688
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-5688.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2016-5688
Downstream
Related
Published
2016-12-13T15:59:01.217Z
Modified
2026-05-13T12:00:24.961410479Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

The WPG parser in ImageMagick before 6.9.4-4 and 7.x before 7.0.1-5, when a memory limit is set, allows remote attackers to have unspecified impact via vectors related to the SetImageExtent return-value check, which trigger (1) a heap-based buffer overflow in the SetPixelIndex function or an invalid write operation in the (2) ScaleCharToQuantum or (3) SetPixelIndex functions.

Database specific
{
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "last_affected": "11.3"
                }
            ],
            "cpe": "cpe:2.3:o:oracle:solaris:11.3:*:*:*:*:*:*:*",
            "source": "CPE_FIELD"
        }
    ]
}
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
Last affected
Last affected
Last affected
Last affected
Last affected
Database specific
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "7.0.1-0"
        },
        {
            "last_affected": "7.0.1-1"
        },
        {
            "last_affected": "7.0.1-2"
        },
        {
            "last_affected": "7.0.1-3"
        },
        {
            "last_affected": "7.0.1-4"
        }
    ],
    "cpe": [
        "cpe:2.3:a:imagemagick:imagemagick:7.0.1-0:*:*:*:*:*:*:*",
        "cpe:2.3:a:imagemagick:imagemagick:7.0.1-1:*:*:*:*:*:*:*",
        "cpe:2.3:a:imagemagick:imagemagick:7.0.1-2:*:*:*:*:*:*:*",
        "cpe:2.3:a:imagemagick:imagemagick:7.0.1-3:*:*:*:*:*:*:*",
        "cpe:2.3:a:imagemagick:imagemagick:7.0.1-4:*:*:*:*:*:*:*"
    ],
    "source": "CPE_FIELD"
}

Affected versions

7.*
7.0.1-0
7.0.1-1
7.0.1-2
7.0.1-3
7.0.1-4

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-5688.json"

Git / github.com/imagemagick/imagemagick6

Affected ranges

Type
GIT
Repo
https://github.com/imagemagick/imagemagick6
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "6.9.4-3"
        }
    ],
    "cpe": "cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*",
    "source": "CPE_FIELD"
}

Affected versions

6.*
6.9.4-0
6.9.4-1
6.9.4-2
6.9.4-3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-5688.json"