CVEvulnerability
CVE-2016-5688
8.1 HIGH
Official page ↗
- Status
- Modified
- Published
- 2016-12-13
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 8.1 HIGH — CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-119
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.
Affected configurations
• oracle solaris 11.3
• imagemagick imagemagick (<= 6.9.4-3)
• imagemagick imagemagick 7.0.1-0
• imagemagick imagemagick 7.0.1-1
• imagemagick imagemagick 7.0.1-2
• imagemagick imagemagick 7.0.1-3
• imagemagick imagemagick 7.0.1-4
Related
Weakness · CWE (1)
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer weakness
References
- http://www.openwall.com/lists/oss-security/2016/06/14/5 Third Party Advisory
- http://www.openwall.com/lists/oss-security/2016/06/17/3 Third Party Advisory
- http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html Third Party Advisory
- http://www.securityfocus.com/bid/91283 Third Party Advisory, VDB Entry
- https://blog.fuzzing-project.org/46-Various-invalid-memory-reads-in-ImageMagick-WPG%2C-DDS%2C-DCM.html blog.fuzzing-project.org
- https://github.com/ImageMagick/ImageMagick/commit/aecd0ada163a4d6c769cec178955d5f3e9316f2f Patch, Vendor Advisory
- https://github.com/ImageMagick/ImageMagick/commit/fc43974d34318c834fbf78570ca1a3764ed8c7d7 Patch, Vendor Advisory
- https://github.com/ImageMagick/ImageMagick/commits/6.9.4-4 Patch, Vendor Advisory
- https://github.com/ImageMagick/ImageMagick/commits/7.0.1-5 Patch, Vendor Advisory
- http://www.openwall.com/lists/oss-security/2016/06/14/5 Third Party Advisory
- http://www.openwall.com/lists/oss-security/2016/06/17/3 Third Party Advisory
- http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html Third Party Advisory
- http://www.securityfocus.com/bid/91283 Third Party Advisory, VDB Entry
- https://blog.fuzzing-project.org/46-Various-invalid-memory-reads-in-ImageMagick-WPG%2C-DDS%2C-DCM.html blog.fuzzing-project.org
- https://github.com/ImageMagick/ImageMagick/commit/aecd0ada163a4d6c769cec178955d5f3e9316f2f Patch, Vendor Advisory
- https://github.com/ImageMagick/ImageMagick/commit/fc43974d34318c834fbf78570ca1a3764ed8c7d7 Patch, Vendor Advisory
- https://github.com/ImageMagick/ImageMagick/commits/6.9.4-4 Patch, Vendor Advisory
- https://github.com/ImageMagick/ImageMagick/commits/7.0.1-5 Patch, Vendor Advisory