Read the docs
TI-2016-05259 Aliases CVE-2016-6128GHSA-x3xg-pxf8-v7j9

The gdImageCropThreshold function in gd_crop.c in the GD Graphics Library (aka libgd)…

Priority MEDIUM 43CWE-20Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 7 fixed, 1 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat.

Summary

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.

Why it matters now

EPSS 0.06805 94th percentileScored 2026-11-07
Fix Partial Red Hat: 1 advisoryRed Hat: 7 fixed, 1 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 8

CPEVersionsRoleVendor
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*8.0VulnerableDebian
cpe:2.3:o:opensuse:leap:42.1:*:*:*:*:*:*:*42.1VulnerableopenSUSE
cpe:2.3:a:libgd:libgd:*:*:*:*:*:*:*:*up to 2.2.2VulnerableLibgd
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*5.6.0 – 5.6.24; 7.0.0 to before 7.0.9Running onPHP
cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:*12.04VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*14.04VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:*15.10VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*16.04VulnerableCanonical
  • cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
  • cpe:2.3:o:opensuse:leap:42.1:*:*:*:*:*:*:* Versions 42.1 Vulnerable ·openSUSE
  • cpe:2.3:a:libgd:libgd:*:*:*:*:*:*:*:* Versions up to 2.2.2 Vulnerable ·Libgd
  • cpe:2.3:a:php:php:*:*:*:*:*:*:*:* Versions 5.6.0 – 5.6.24; 7.0.0 to before 7.0.9 Running on ·PHP
  • cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:* Versions 12.04 Vulnerable ·Canonical
  • cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* Versions 14.04 Vulnerable ·Canonical
  • cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:* Versions 15.10 Vulnerable ·Canonical
  • cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* Versions 16.04 Vulnerable ·Canonical

Remediation

Red Hat 1 advisory

  • RHSA-2016:2750 Released 2016-11-15 · Red Hat rating Moderate
    rh-php56 security, bug fix, and enhancement update
    • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-php56-2.3-1.el6, rh-php56-php-5.6.25-1.el6, rh-php56-php-bcmath-5.6.25-1.el6 +30
    • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-php56-2.3-1.el7, rh-php56-php-5.6.25-1.el7, rh-php56-php-bcmath-5.6.25-1.el7 +28
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) rh-php56-2.3-1.el6, rh-php56-php-5.6.25-1.el6, rh-php56-php-bcmath-5.6.25-1.el6 +30
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.2) rh-php56-2.3-1.el7, rh-php56-php-5.6.25-1.el7, rh-php56-php-bcmath-5.6.25-1.el7 +28
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) rh-php56-2.3-1.el7, rh-php56-php-5.6.25-1.el7, rh-php56-php-bcmath-5.6.25-1.el7 +28
    • Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-php56-2.3-1.el6, rh-php56-php-5.6.25-1.el6, rh-php56-php-bcmath-5.6.25-1.el6 +30
    • Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-php56-2.3-1.el7, rh-php56-php-5.6.25-1.el7, rh-php56-php-bcmath-5.6.25-1.el7 +28

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Software CollectionsAffectedNo fix planned: Will not fix
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6)Fixed RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)Fixed RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7)Fixed RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.2)Fixed RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3)Fixed RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6)Fixed RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7)Fixed RHSA-2016:2750
Not affected: 5 products
  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat OpenShift Enterprise 2
  • Red Hat Software Collections

Timeline

  1. 2026-10-02 Threatist record created from CVE-2016-6128
  2. 2026-10-03 Alias added: GHSA-x3xg-pxf8-v7j9

References

Sources