VDB

CVE-2016-5688

CVE-2016-5688 PUBLISHED

Reported by mitre · Published December 13, 2016

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
imagemagickAlpine6.9.6.8-r0, 6.9.5.3
imagemagickUbuntu:14.04:LTS8:6.7.7.10-6ubuntu3.2
imagemagickUbuntu:16.04:LTS8:6.8.9.9-7ubuntu5.2

Affected products

VendorProductVersions
n/an/an/a
alpineimagemagick0, 0
n/an/a*

Timeline

  • Jun 24, 2016 CVE Published
  • Feb 4, 2022 EPSS Score (30 in total, the first dated here)
  • Sep 8, 2025 CVE Updated
  • Mar 5, 2026 Distribution Patch (2 in total, the first dated here)
  • Mar 5, 2026 Security Advisory (2 in total, the first dated here)
  • Oct 7, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2016-5688
vulnetix vdb fixes CVE-2016-5688

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2016-5688/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›