cve.bz

CVE-2016-6128 Improper Input Validation

7.5 highEPSS 6.8%Fix available

High (7.5). EPSS 6.8% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
6.8% (unchanged from 6.8% a week ago; 6.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2016-6128 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-6128?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-6128?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2016-6128 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
debian:debian_linux8.0
opensuse:leap42.1
libgd:libgdthrough 2.2.2
canonical:ubuntu_linux12.04
canonical:ubuntu_linux14.04
canonical:ubuntu_linux15.10
canonical:ubuntu_linux16.04

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8libgd22.1.0-5+deb8u4DSA-3619-1
Debian12, 13, 14libgd22.2.2-29-g3c2b605-1DEBIAN-CVE-2016-6128
Ubuntu14.04:LTSlibgd22.1.0-3ubuntu0.2UBUNTU-CVE-2016-6128 USN-3030-1
Ubuntu16.04:LTSlibgd22.1.1-4ubuntu0.16.04.2UBUNTU-CVE-2016-6128 USN-3030-1
Red Hatrhel_software_collections:2::el6rh-php56, rh-php56-runtime, rh-php56-scldevel0:2.3-1.el6RHSA-2016:2750
Red Hatrhel_software_collections:2::el6rh-php56-php, rh-php56-php-gd, rh-php56-php-cli and 27 more0:5.6.25-1.el6RHSA-2016:2750
Red Hatrhel_software_collections:2::el6rh-php56-php-pear1:1.9.5-4.el6RHSA-2016:2750
Red Hatrhel_software_collections:2::el7rh-php56, rh-php56-runtime, rh-php56-scldevel0:2.3-1.el7RHSA-2016:2750
Red Hatrhel_software_collections:2::el7rh-php56-php, rh-php56-php-gd, rh-php56-php-cli and 25 more0:5.6.25-1.el7RHSA-2016:2750
Red Hatrhel_software_collections:2::el7rh-php56-php-pear1:1.9.5-4.el7RHSA-2016:2750
SUSELinux Enterprise Desktop 12 SP1, Linux Enterprise Server 12 SP1, Linux Enterprise Server for SAP Applications 12 SP1 and 2 moregd2.1.0-12.1SUSE-SU-2016:2303-1
SUSELinux Enterprise Module for Web and Scripting 12php77.0.7-15.1SUSE-SU-2016:2460-2
SUSELinux Enterprise Module for Web and Scripting 12, Linux Enterprise Software Development Kit 12 SP1php55.5.14-73.1SUSE-SU-2016:2408-1
SUSELinux Enterprise Module for Web and Scripting 12, Linux Enterprise Software Development Kit 12 SP1php77.0.7-15.1SUSE-SU-2016:2460-1
openSUSETumbleweedgd2.2.3-2.1openSUSE-SU-2024:10062-1
Alpinev3.2, v3.3gd2.2.1-r2ALPINE-CVE-2016-6128
Alpinev3.4gd2.2.3-r0ALPINE-CVE-2016-6128

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

Red Hat's statement

Red Hat Product Security has rated this issue as having Low security

impact. This issue is not currently planned to be addressed in future

updates. For additional information, refer to the Issue Severity

Classification: https://access.redhat.com/security/updates/classification/.

ProductPackageStateAdvisory
Red Hat Software Collections for Red Hat Enterprise Linux 6rh-php56-0:2.3-1.el6Fixed 2016-11-15RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 6rh-php56-php-0:5.6.25-1.el6Fixed 2016-11-15RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 6rh-php56-php-pear-1:1.9.5-4.el6Fixed 2016-11-15RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUSrh-php56-0:2.3-1.el6Fixed 2016-11-15RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUSrh-php56-php-0:5.6.25-1.el6Fixed 2016-11-15RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUSrh-php56-php-pear-1:1.9.5-4.el6Fixed 2016-11-15RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-php56-0:2.3-1.el7Fixed 2016-11-15RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-php56-php-0:5.6.25-1.el7Fixed 2016-11-15RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-php56-php-pear-1:1.9.5-4.el7Fixed 2016-11-15RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUSrh-php56-0:2.3-1.el7Fixed 2016-11-15RHSA-2016:2750
Red Hat Enterprise Linux 5gdNot affected
Red Hat Enterprise Linux 5libwmfNot affected
Red Hat Enterprise Linux 5phpNot affected
Red Hat Enterprise Linux 5php53Not affected
Red Hat Enterprise Linux 6gdNot affected
Red Hat Enterprise Linux 6libwmfNot affected
Red Hat Enterprise Linux 6phpNot affected
Red Hat Enterprise Linux 7gdNot affected
Red Hat Enterprise Linux 7libwmfNot affected
Red Hat Enterprise Linux 7phpNot affected
8 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2016-6128.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON