CVE-2016-5688: Buffer Overflow

Published Dec 13, 2016
·
Updated

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 Software

8 affected componentsFixes available
Oracle Solaris=11.3
ImageMagick<=6.9.4-3
ImageMagick=7.0.1-0
ImageMagick=7.0.1-1
ImageMagick=7.0.1-2
ImageMagick=7.0.1-3
ImageMagick=7.0.1-4
debian/imagemagick
8:6.9.11.60+dfsg-1.3+deb11u48:6.9.11.60+dfsg-1.3+deb11u58:6.9.11.60+dfsg-1.6+deb12u28:6.9.11.60+dfsg-1.6+deb12u18:7.1.1.43+dfsg1-18:7.1.1.47+dfsg1-1

Event History

Dec 13, 2016
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
Description
Apr 28, 2025
Data Sourced
via Debian·02:16 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2016-5688?

CVE-2016-5688 is considered to have a high severity due to the potential for remote exploitation leading to heap-based buffer overflows.

2

How do I fix CVE-2016-5688?

To fix CVE-2016-5688, update ImageMagick to versions 6.9.4-4 or 7.0.1-5 or later.

3

Which versions of ImageMagick are affected by CVE-2016-5688?

CVE-2016-5688 affects ImageMagick versions prior to 6.9.4-4 and 7.x versions before 7.0.1-5.

4

Can CVE-2016-5688 lead to denial of service attacks?

Yes, CVE-2016-5688 can potentially be exploited to cause denial of service through buffer overflow attacks.

5

Is CVE-2016-5688 specific to any operating system?

No, CVE-2016-5688 is related to ImageMagick and can affect various operating systems using vulnerable versions of the software.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203