CVE-2016-5688: imagemagick
Vulnerability summary
CVE-2016-5688 is a high (CVSS 8.1) vulnerability in imagemagick. EPSS estimates a 4.82% chance of exploitation in the next 30 days, higher than 91.8% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 6 · Related 4Timeline
- 13-12-2016PublishedVulnerability first disclosed.
- 06-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated8.1HighCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated8.1HighCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.1HighCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
4.82%
Chance of exploitation in the next 30 days
Percentile
92%
Versus all other CVEs
30-day change
0.00 pp
From 4.82% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Alpine1 product
- imagemagick< 6.9.6.8-r0 | < 6.9.5.3
Debian1 product
- imagemagick< 8:6.9.6.2+dfsg-2
Imagemagick1 product
- imagemagick≤ 6.9.4-3 | 7.0.1-0 | 7.0.1-1 | 7.0.1-2 | 7.0.1-3 | 7.0.1-4
Oracle1 product
- solarisEOL11.3
Ubuntu1 product
- imagemagick< 8:6.7.7.10-6ubuntu3.2 | < 8:6.8.9.9-7ubuntu5.2
5 vendors · 5 products
References
15 links- www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.htmlX Refsource CONFIRMThird Party Advisory
- github.com/ImageMagick/ImageMagick/commit/aecd0ada163a4d6c769cec178955d5f3e9316f2fX Refsource CONFIRMPatchVendor Advisory
- github.com/ImageMagick/ImageMagick/commit/fc43974d34318c834fbf78570ca1a3764ed8c7d7X Refsource CONFIRMPatchVendor Advisory