8.1
CWE
119
Advisory Published
Updated

CVE-2016-5688: Buffer Overflow

First published: Tue 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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
debian/imagemagick
8:6.9.11.60+dfsg-1.3+deb11u3
8:6.9.11.60+dfsg-1.6+deb12u1
8:6.9.13.12+dfsg1-1
Oracle Solaris SPARC=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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • 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.

  • 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.

  • 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.

  • 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.

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203