The WPG parser in ImageMagick before 6.9.4-4 and 7.x before 7.0.1-5, when a memory limit…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-119 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 7
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:oracle:solaris:11.3:*:*:*:*:*:*:* | 11.3 | Vulnerable | Oracle |
| cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* | up to 6.9.4-3 | Vulnerable | ImageMagick |
| cpe:2.3:a:imagemagick:imagemagick:7.0.1-0:*:*:*:*:*:*:* | 7.0.1-0 | Vulnerable | ImageMagick |
| cpe:2.3:a:imagemagick:imagemagick:7.0.1-1:*:*:*:*:*:*:* | 7.0.1-1 | Vulnerable | ImageMagick |
| cpe:2.3:a:imagemagick:imagemagick:7.0.1-2:*:*:*:*:*:*:* | 7.0.1-2 | Vulnerable | ImageMagick |
| cpe:2.3:a:imagemagick:imagemagick:7.0.1-3:*:*:*:*:*:*:* | 7.0.1-3 | Vulnerable | ImageMagick |
| cpe:2.3:a:imagemagick:imagemagick:7.0.1-4:*:*:*:*:*:*:* | 7.0.1-4 | Vulnerable | ImageMagick |
- cpe:2.3:o:oracle:solaris:11.3:*:*:*:*:*:*:* Versions 11.3 Vulnerable ·Oracle
- cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* Versions up to 6.9.4-3 Vulnerable ·ImageMagick
- cpe:2.3:a:imagemagick:imagemagick:7.0.1-0:*:*:*:*:*:*:* Versions 7.0.1-0 Vulnerable ·ImageMagick
- cpe:2.3:a:imagemagick:imagemagick:7.0.1-1:*:*:*:*:*:*:* Versions 7.0.1-1 Vulnerable ·ImageMagick
- cpe:2.3:a:imagemagick:imagemagick:7.0.1-2:*:*:*:*:*:*:* Versions 7.0.1-2 Vulnerable ·ImageMagick
- cpe:2.3:a:imagemagick:imagemagick:7.0.1-3:*:*:*:*:*:*:* Versions 7.0.1-3 Vulnerable ·ImageMagick
- cpe:2.3:a:imagemagick:imagemagick:7.0.1-4:*:*:*:*:*:*:* Versions 7.0.1-4 Vulnerable ·ImageMagick
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | — |
| Red Hat Enterprise Linux 6 | Affected | No fix yet |
| Red Hat Enterprise Linux 7 | Affected | No fix yet |
| Red Hat OpenShift Enterprise 2 | Affected | No fix yet |
Timeline
- 2026-10-02 Threatist record created from CVE-2016-5688
- 2026-10-03 Alias added: GHSA-2hhc-539m-8qw5
References
Patch 4
Advisory 3
Sources
- CVE-2016-5688 · CVE Program
- CVE-2016-5688 · NVD
- FIRST EPSS
- GHSA-2hhc-539m-8qw5 · GitHub Advisory Database · CC BY 4.0
- CVE-2016-5688 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences