7.5
CWE
20
Advisory Published
Updated

CVE-2016-6128: Input Validation

First published: Sun Aug 07 2016(Updated: )

The gdImageCropThreshold function in gd_crop.c in the GD Graphics Library (aka libgd) before 2.2.3, as used in PHP before 7.0.9, allows remote attackers to cause a denial of service (application crash) via an invalid color index.

Credit: security@debian.org

Affected SoftwareAffected VersionHow to fix
Debian=8.0
openSUSE=42.1
libgd<=2.2.2
PHP>=5.6.0<=5.6.24
PHP>=7.0.0<7.0.9
Ubuntu=12.04
Ubuntu=14.04
Ubuntu=15.10
Ubuntu=16.04

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-6128?

    CVE-2016-6128 has a medium severity rating due to its potential to cause denial of service attacks.

  • How do I fix CVE-2016-6128?

    To fix CVE-2016-6128, upgrade the GD Graphics Library to version 2.2.3 or later.

  • Which versions of PHP are affected by CVE-2016-6128?

    CVE-2016-6128 affects PHP versions prior to 7.0.9 and 5.6.x versions before 5.6.24.

  • What are the impacts of CVE-2016-6128 on my application?

    The main impact of CVE-2016-6128 is application crashes due to denial of service vulnerabilities.

  • Is CVE-2016-6128 specific to certain operating systems?

    CVE-2016-6128 affects specific distributions of Debian, openSUSE, and Ubuntu Linux.

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