Read the docs
TI-2016-08243 Aliases CVE-2016-10167GHSA-v5rm-77g4-wp7f

The gdImageCreateFromGd2Ctx function in gd_gd2.c in the GD Graphics Library (aka libgd)…

Priority LOW 31CWE-20Published · Updated

Key facts

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

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

Summary

The gdImageCreateFromGd2Ctx function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers to cause a denial of service (application crash) via a crafted image file.

Why it matters now

EPSS 0.03736 89th percentileScored 2026-11-07
Fix Partial Red Hat: 2 advisoriesRed Hat: 16 fixed, 4 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 · 1

CPEVersionsRoleVendor
cpe:2.3:a:libgd:libgd:*:*:*:*:*:*:*:*up to 2.2.3VulnerableLibgd
  • cpe:2.3:a:libgd:libgd:*:*:*:*:*:*:*:* Versions up to 2.2.3 Vulnerable ·Libgd

Remediation

Red Hat 2 advisories

  • RHSA-2018:1296 Released 2018-05-03 · Red Hat rating Moderate
    rh-php70-php security, bug fix, and enhancement update
    • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-php70-php-7.0.27-1.el6, rh-php70-php-bcmath-7.0.27-1.el6, rh-php70-php-cli-7.0.27-1.el6 +28
    • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-php70-php-7.0.27-1.el7, rh-php70-php-bcmath-7.0.27-1.el7, rh-php70-php-cli-7.0.27-1.el7 +26
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) rh-php70-php-7.0.27-1.el6, rh-php70-php-bcmath-7.0.27-1.el6, rh-php70-php-cli-7.0.27-1.el6 +28
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) rh-php70-php-7.0.27-1.el7, rh-php70-php-bcmath-7.0.27-1.el7, rh-php70-php-cli-7.0.27-1.el7 +26
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-php70-php-7.0.27-1.el7, rh-php70-php-bcmath-7.0.27-1.el7, rh-php70-php-cli-7.0.27-1.el7 +26
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-php70-php-7.0.27-1.el7, rh-php70-php-bcmath-7.0.27-1.el7, rh-php70-php-cli-7.0.27-1.el7 +26
    • Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-php70-php-7.0.27-1.el6, rh-php70-php-bcmath-7.0.27-1.el6, rh-php70-php-cli-7.0.27-1.el6 +28
    • Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-php70-php-7.0.27-1.el7, rh-php70-php-bcmath-7.0.27-1.el7, rh-php70-php-cli-7.0.27-1.el7 +26
  • RHSA-2017:3221 Released 2017-11-15 · Red Hat rating Moderate
    php security update
    • Red Hat Enterprise Linux Client Optional (v. 7) php-5.4.16-43.el7_4, php-bcmath-5.4.16-43.el7_4, php-cli-5.4.16-43.el7_4 +22
    • Red Hat Enterprise Linux ComputeNode Optional (v. 7) php-5.4.16-43.el7_4, php-bcmath-5.4.16-43.el7_4, php-cli-5.4.16-43.el7_4 +22
    • Red Hat Enterprise Linux Server (v. 7) php-5.4.16-43.el7_4, php-cli-5.4.16-43.el7_4, php-common-5.4.16-43.el7_4 +11
    • Red Hat Enterprise Linux Server Optional (v. 7) php-bcmath-5.4.16-43.el7_4, php-dba-5.4.16-43.el7_4, php-devel-5.4.16-43.el7_4 +8
    • Red Hat Enterprise Linux Workstation (v. 7) php-5.4.16-43.el7_4, php-cli-5.4.16-43.el7_4, php-common-5.4.16-43.el7_4 +11
    • Red Hat Enterprise Linux Workstation Optional (v. 7) php-bcmath-5.4.16-43.el7_4, php-dba-5.4.16-43.el7_4, php-devel-5.4.16-43.el7_4 +8
    • Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) php-5.4.16-43.el7_4, php-cli-5.4.16-43.el7_4, php-common-5.4.16-43.el7_4 +11
    • Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) php-bcmath-5.4.16-43.el7_4, php-dba-5.4.16-43.el7_4, php-devel-5.4.16-43.el7_4 +8

Vendor assessments

Red Hat

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

ProductStatusPlan or fix
Red Hat Enterprise Linux 5AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 7AffectedNo fix planned: Will not fix
Red Hat Software CollectionsAffectedNo fix planned: Will not fix
Red Hat Enterprise Linux Client Optional (v. 7)Fixed RHSA-2017:3221
Red Hat Enterprise Linux ComputeNode Optional (v. 7)Fixed RHSA-2017:3221
Red Hat Enterprise Linux Server (v. 7)Fixed RHSA-2017:3221
Red Hat Enterprise Linux Server Optional (v. 7)Fixed RHSA-2017:3221
Red Hat Enterprise Linux Workstation (v. 7)Fixed RHSA-2017:3221
Red Hat Enterprise Linux Workstation Optional (v. 7)Fixed RHSA-2017:3221
Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7)Fixed RHSA-2017:3221
Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7)Fixed RHSA-2017:3221
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6)Fixed RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)Fixed RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7)Fixed RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3)Fixed RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4)Fixed RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5)Fixed RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6)Fixed RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7)Fixed RHSA-2018:1296
Not affected: 1 product
  • Red Hat Software Collections

Timeline

  1. 2026-10-02 Threatist record created from CVE-2016-10167
  2. 2026-10-03 Alias added: GHSA-v5rm-77g4-wp7f

References

  • TI-2019-04913 gdImageColorMatch in gd_color_match.c in the GD Graphics Library (aka LibGD) 2.2.5, as… CVSS 3.0HIGH 8.8
  • TI-2016-02573 Integer signedness error in GD Graphics Library 2.1.1 (aka libgd or libgd2) allows remote… CVSS 3.1CRITICAL 9.8
  • TI-2016-08242 Integer underflow in the _gdContributionsAlloc function in gd_interpolation.c in the GD… CVSS 3.0CRITICAL 9.8
  • TI-2016-07128 Integer signedness error in the dynamicGetbuf function in gd_io_dp.c in the GD Graphics… CVSS 3.0CRITICAL 9.8
  • TI-2016-06432 Integer overflow in the gdImageWebpCtx function in gd_webp.c in the GD Graphics Library… CVSS 3.0CRITICAL 9.8
  • TI-2019-04914 The GD Graphics Library (aka LibGD) 2.2.5 has a double free in the gdImage*Ptr()… CVSS 3.0CRITICAL 9.8
See all 33 →

Sources