Every CVE Search/ Get API key

CVE-2013-7456

gd_interpolation.c in the GD Graphics Library (aka libgd) before 2.1.1, as used in PHP before 5.5...

7.6 HighFix available

CVE-2013-7456 is a high vulnerability (CVSS 7.6) in Libgd, published May 27, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.83%, the 90th percentile. Fixed in libgd2 2.1.1-1.

gd_interpolation.c in the GD Graphics Library (aka libgd) before 2.1.1, as used in PHP before 5.5.36, 5.6.x before 5.6.22, and 7.x before 7.0.7, allows remote attackers to cause a denial of service (out-of-bounds read) or possibly have unspecified other impact via a crafted image that is mishandled by the imagescale function.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
High

Exploit likelihood

3.83%Up 1.9 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 7.6

gd_interpolation.c in the GD Graphics Library (aka libgd) before 2.1.1, as used in PHP before 5.5.36, 5.6.x before 5.6.22, and 7.x before 7.0.7, allows remote attackers to cause a denial of service (out-of-bounds read) or possibly have unspecified other impact via a crafted image that is mishandled by the imagescale function.

Record
CVE-2013-7456
CVSS 3.0
7.6 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-125
Updated
2026-11-02
CVE List No score

gd_interpolation.c in the GD Graphics Library (aka libgd) before 2.1.1, as used in PHP before 5.5.36, 5.6.x before 5.6.22, and 7.x before 7.0.7, allows remote attackers to cause a denial of service (out-of-bounds read) or possibly have unspecified other impact via a crafted image that is mishandled by the imagescale function.

Record
CVE-2013-7456
Updated
2026-11-02
EUVDEUVD-2013-7216 No score

gd_interpolation.c in the GD Graphics Library (aka libgd) before 2.1.1, as used in PHP before 5.5.36, 5.6.x before 5.6.22, and 7.x before 7.0.7, allows remote attackers to cause a denial of service (out-of-bounds read) or possibly have unspecified other impact via a crafted image that is mishandled by the imagescale function.

Record
EUVD-2013-7216
Updated
2026-11-03
GitHub AdvisoriesGHSA-f3c2-5v72-7m7f 7.6

gd_interpolation.c in the GD Graphics Library (aka libgd) before 2.1.1, as used in PHP before 5.5...

gd_interpolation.c in the GD Graphics Library (aka libgd) before 2.1.1, as used in PHP before 5.5.36, 5.6.x before 5.6.22, and 7.x before 7.0.7, allows remote attackers to cause a denial of service (out-of-bounds read) or possibly have unspecified other impact via a crafted image that is mishandled by the imagescale function.

Record
GHSA-f3c2-5v72-7m7f
CVSS 3.0
7.6 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
Weakness
CWE-125
Updated
2026-11-02
OSV 7.6

gd_interpolation.c in the GD Graphics Library (aka libgd) before 2.1.1, as used in PHP before 5.5.36, 5.6.x before 5.6.22, and 7.x before 7.0.7, allows remote attackers to cause a denial of service (out-of-bounds read) or possibly have unspecified other impact via a crafted image that is mishandled by the imagescale function.

Record
CVE-2013-7456
CVSS 3.0
7.6 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2013-7456 7.6

gd_interpolation.c in the GD Graphics Library (aka libgd) before 2.1.1, as used in PHP before 5.5.36, 5.6.x before 5.6.22, and 7.x before 7.0.7, allows remote attackers to cause a denial of service (out-of-bounds read) or possibly have unspecified other impact via a crafted image that is mishandled by the imagescale function.

Record
DEBIAN-CVE-2013-7456
CVSS 3.0
7.6 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
Updated
2026-11-02
Show 4 moreShow less
OSVRHSA-2016:2750 8.1

Red Hat Security Advisory: rh-php56 security, bug fix, and enhancement update

Record
RHSA-2016:2750
CVSS 3.0
8.1 HighCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2013-7456 7.6

gd_interpolation.c in the GD Graphics Library (aka libgd) before 2.1.1, as used in PHP before 5.5.36, 5.6.x before 5.6.22, and 7.x before 7.0.7, allows remote attackers to cause a denial of service (out-of-bounds read) or possibly have unspecified other impact via a crafted image that is mishandled by the imagescale function.

Record
UBUNTU-CVE-2013-7456
CVSS 3.0
7.6 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
Updated
2026-11-02
OSVSUSE-SU-2016:1633-1 No score

Security update for php5

This update for php5 fixes the following issues:

  • CVE-2013-7456: imagescale out-of-bounds read (bnc#982009).
  • CVE-2016-5093: get_icu_value_internal out-of-bounds read (bnc#982010).
  • CVE-2016-5094: Don't create strings with lengths outside of valid range (bnc#982011).
  • CVE-2016-5095: Don't create strings with lengths outside of valid range (bnc#982012).
  • CVE-2016-5096: int/size_t confusion in fread (bsc#982013).
  • CVE-2015-8877: The gdImageScaleTwoPass function in gd_interpolation.c in the GD Graphics Library (aka libgd) as used in PHP used inconsistent allocate and free approaches, which allowed remote attackers to cause a denial of service (memory consumption) via a crafted call, as demonstrated by a call to the PHP imagescale function (bsc#981061).
  • CVE-2015-8876: Zend/zend_exceptions.c in PHP did not validate certain Exception objects, which allowed remote attackers to cause a denial of service (NULL pointer dereference and application crash) or trigger unintended method execution via crafted serialized data (bsc#981049).
  • CVE-2015-8879: The odbc_bindcols function in ext/odbc/php_odbc.c in PHP mishandles driver behavior for SQL_WVARCHAR columns, which allowed remote attackers to cause a denial of service (application crash) in opportunistic circumstances by leveraging use of the odbc_fetch_array function to access a certain type of Microsoft SQL Server table (bsc#981050).
Record
SUSE-SU-2016:1633-1
Updated
2026-11-02
OSVUSN-3030-1 No score

libgd2 vulnerabilities

It was discovered that the GD library incorrectly handled memory when using gdImageScaleTwoPass(). A remote attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 14.04 LTS. (CVE-2013-7456)

It was discovered that the GD library incorrectly handled certain malformed XBM images. If a user or automated system were tricked into processing a specially crafted XBM image, an attacker could cause a denial of service. This issue only affected Ubuntu 14.04 LTS, Ubuntu 15.10 and Ubuntu 16.04 LTS. (CVE-2016-5116)

It was discovered that the GD library incorrectly handled memory when using _gd2GetHeader(). A remote attacker could possibly use this issue to cause a denial of service or possibly execute arbitrary code. (CVE-2016-5766)

It was discovered that the GD library incorrectly handled certain color indexes. A remote attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 14.04 LTS, Ubuntu 15.10 and Ubuntu 16.04 LTS. (CVE-2016-6128)

It was discovered that the GD library incorrectly handled memory when encoding a GIF image. A remote attacker could possibly use this issue to cause a denial of service. (CVE-2016-6161)

Record
USN-3030-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libgd2
Debian:12
before 2.1.1-1
2.1.1-1
libgd2
Debian:13
before 2.1.1-1
2.1.1-1
libgd2
Debian:14
before 2.1.1-1
2.1.1-1
libgd2
Debian:8
before 2.1.0-5+deb8u3, plus listed versions
2.1.0-52.1.0-5+deb8u12.1.0-5+deb8u2
2.1.0-5+deb8u3
php5
Debian:8
before 5.6.22+dfsg-0+deb8u1, plus listed versions
5.6.11+dfsg-15.6.12+dfsg-0+deb8u15.6.12+dfsg-15.6.13+dfsg-0+deb8u15.6.13+dfsg-1
Show 22 moreShow less
5.6.13+dfsg-25.6.14+dfsg-0+deb8u15.6.14+dfsg-15.6.15+dfsg-15.6.16+dfsg-15.6.16+dfsg-25.6.16+dfsg-35.6.16+dfsg-45.6.17+dfsg-0+deb8u15.6.17+dfsg-15.6.17+dfsg-35.6.18+dfsg-15.6.19+dfsg-0+deb8u15.6.19+dfsg-15.6.19+dfsg-25.6.20+dfsg-0+deb8u15.6.20+dfsg-15.6.21+dfsg-15.6.21+dfsg-25.6.7+dfsg-15.6.9+dfsg-0+deb8u15.6.9+dfsg-1
5.6.22+dfsg-0+deb8u1
rh-php56
Red Hat:rhel_software_collections:2::el6
before 0:2.3-1.el6
0:2.3-1.el6
rh-php56-php
Red Hat:rhel_software_collections:2::el6
before 0:5.6.25-1.el6
0:5.6.25-1.el6
rh-php56-php-bcmath
Red Hat:rhel_software_collections:2::el6
before 0:5.6.25-1.el6
0:5.6.25-1.el6
rh-php56-php-cli
Red Hat:rhel_software_collections:2::el6
before 0:5.6.25-1.el6
0:5.6.25-1.el6
rh-php56-php-common
Red Hat:rhel_software_collections:2::el6
before 0:5.6.25-1.el6
0:5.6.25-1.el6
Show 73 moreShow less
Affected packages
PackageAffectedFixed
rh-php56-php-dba
Red Hat:rhel_software_collections:2::el6
before 0:5.6.25-1.el6
0:5.6.25-1.el6
rh-php56-php-dbg
Red Hat:rhel_software_collections:2::el6
before 0:5.6.25-1.el6
0:5.6.25-1.el6
rh-php56-php-debuginfo
Red Hat:rhel_software_collections:2::el6
before 0:5.6.25-1.el6
0:5.6.25-1.el6
rh-php56-php-devel
Red Hat:rhel_software_collections:2::el6
before 0:5.6.25-1.el6
0:5.6.25-1.el6
rh-php56-php-embedded
Red Hat:rhel_software_collections:2::el6
before 0:5.6.25-1.el6
0:5.6.25-1.el6
rh-php56-php-enchant
Red Hat:rhel_software_collections:2::el6
before 0:5.6.25-1.el6
0:5.6.25-1.el6
rh-php56-php-fpm
Red Hat:rhel_software_collections:2::el6
before 0:5.6.25-1.el6
0:5.6.25-1.el6
rh-php56-php-gd
Red Hat:rhel_software_collections:2::el6
before 0:5.6.25-1.el6
0:5.6.25-1.el6
rh-php56-php-gmp
Red Hat:rhel_software_collections:2::el6
before 0:5.6.25-1.el6
0:5.6.25-1.el6
rh-php56-php-imap
Red Hat:rhel_software_collections:2::el6
before 0:5.6.25-1.el6
0:5.6.25-1.el6
rh-php56-php-intl
Red Hat:rhel_software_collections:2::el6
before 0:5.6.25-1.el6
0:5.6.25-1.el6
rh-php56-php-ldap
Red Hat:rhel_software_collections:2::el6
before 0:5.6.25-1.el6
0:5.6.25-1.el6
rh-php56-php-mbstring
Red Hat:rhel_software_collections:2::el6
before 0:5.6.25-1.el6
0:5.6.25-1.el6
rh-php56-php-mysqlnd
Red Hat:rhel_software_collections:2::el6
before 0:5.6.25-1.el6
0:5.6.25-1.el6
rh-php56-php-odbc
Red Hat:rhel_software_collections:2::el6
before 0:5.6.25-1.el6
0:5.6.25-1.el6
rh-php56-php-opcache
Red Hat:rhel_software_collections:2::el6
before 0:5.6.25-1.el6
0:5.6.25-1.el6
rh-php56-php-pdo
Red Hat:rhel_software_collections:2::el6
before 0:5.6.25-1.el6
0:5.6.25-1.el6
rh-php56-php-pear
Red Hat:rhel_software_collections:2::el6
before 1:1.9.5-4.el6
1:1.9.5-4.el6
rh-php56-php-pgsql
Red Hat:rhel_software_collections:2::el6
before 0:5.6.25-1.el6
0:5.6.25-1.el6
rh-php56-php-process
Red Hat:rhel_software_collections:2::el6
before 0:5.6.25-1.el6
0:5.6.25-1.el6
rh-php56-php-pspell
Red Hat:rhel_software_collections:2::el6
before 0:5.6.25-1.el6
0:5.6.25-1.el6
rh-php56-php-recode
Red Hat:rhel_software_collections:2::el6
before 0:5.6.25-1.el6
0:5.6.25-1.el6
rh-php56-php-snmp
Red Hat:rhel_software_collections:2::el6
before 0:5.6.25-1.el6
0:5.6.25-1.el6
rh-php56-php-soap
Red Hat:rhel_software_collections:2::el6
before 0:5.6.25-1.el6
0:5.6.25-1.el6
rh-php56-php-tidy
Red Hat:rhel_software_collections:2::el6
before 0:5.6.25-1.el6
0:5.6.25-1.el6
rh-php56-php-xml
Red Hat:rhel_software_collections:2::el6
before 0:5.6.25-1.el6
0:5.6.25-1.el6
rh-php56-php-xmlrpc
Red Hat:rhel_software_collections:2::el6
before 0:5.6.25-1.el6
0:5.6.25-1.el6
rh-php56-runtime
Red Hat:rhel_software_collections:2::el6
before 0:2.3-1.el6
0:2.3-1.el6
rh-php56-scldevel
Red Hat:rhel_software_collections:2::el6
before 0:2.3-1.el6
0:2.3-1.el6
rh-php56
Red Hat:rhel_software_collections:2::el7
before 0:2.3-1.el7
0:2.3-1.el7
rh-php56-php
Red Hat:rhel_software_collections:2::el7
before 0:5.6.25-1.el7
0:5.6.25-1.el7
rh-php56-php-bcmath
Red Hat:rhel_software_collections:2::el7
before 0:5.6.25-1.el7
0:5.6.25-1.el7
rh-php56-php-cli
Red Hat:rhel_software_collections:2::el7
before 0:5.6.25-1.el7
0:5.6.25-1.el7
rh-php56-php-common
Red Hat:rhel_software_collections:2::el7
before 0:5.6.25-1.el7
0:5.6.25-1.el7
rh-php56-php-dba
Red Hat:rhel_software_collections:2::el7
before 0:5.6.25-1.el7
0:5.6.25-1.el7
rh-php56-php-dbg
Red Hat:rhel_software_collections:2::el7
before 0:5.6.25-1.el7
0:5.6.25-1.el7
rh-php56-php-debuginfo
Red Hat:rhel_software_collections:2::el7
before 0:5.6.25-1.el7
0:5.6.25-1.el7
rh-php56-php-devel
Red Hat:rhel_software_collections:2::el7
before 0:5.6.25-1.el7
0:5.6.25-1.el7
rh-php56-php-embedded
Red Hat:rhel_software_collections:2::el7
before 0:5.6.25-1.el7
0:5.6.25-1.el7
rh-php56-php-enchant
Red Hat:rhel_software_collections:2::el7
before 0:5.6.25-1.el7
0:5.6.25-1.el7
rh-php56-php-fpm
Red Hat:rhel_software_collections:2::el7
before 0:5.6.25-1.el7
0:5.6.25-1.el7
rh-php56-php-gd
Red Hat:rhel_software_collections:2::el7
before 0:5.6.25-1.el7
0:5.6.25-1.el7
rh-php56-php-gmp
Red Hat:rhel_software_collections:2::el7
before 0:5.6.25-1.el7
0:5.6.25-1.el7
rh-php56-php-intl
Red Hat:rhel_software_collections:2::el7
before 0:5.6.25-1.el7
0:5.6.25-1.el7
rh-php56-php-ldap
Red Hat:rhel_software_collections:2::el7
before 0:5.6.25-1.el7
0:5.6.25-1.el7
rh-php56-php-mbstring
Red Hat:rhel_software_collections:2::el7
before 0:5.6.25-1.el7
0:5.6.25-1.el7
rh-php56-php-mysqlnd
Red Hat:rhel_software_collections:2::el7
before 0:5.6.25-1.el7
0:5.6.25-1.el7
rh-php56-php-odbc
Red Hat:rhel_software_collections:2::el7
before 0:5.6.25-1.el7
0:5.6.25-1.el7
rh-php56-php-opcache
Red Hat:rhel_software_collections:2::el7
before 0:5.6.25-1.el7
0:5.6.25-1.el7
rh-php56-php-pdo
Red Hat:rhel_software_collections:2::el7
before 0:5.6.25-1.el7
0:5.6.25-1.el7
rh-php56-php-pear
Red Hat:rhel_software_collections:2::el7
before 1:1.9.5-4.el7
1:1.9.5-4.el7
rh-php56-php-pgsql
Red Hat:rhel_software_collections:2::el7
before 0:5.6.25-1.el7
0:5.6.25-1.el7
rh-php56-php-process
Red Hat:rhel_software_collections:2::el7
before 0:5.6.25-1.el7
0:5.6.25-1.el7
rh-php56-php-pspell
Red Hat:rhel_software_collections:2::el7
before 0:5.6.25-1.el7
0:5.6.25-1.el7
rh-php56-php-recode
Red Hat:rhel_software_collections:2::el7
before 0:5.6.25-1.el7
0:5.6.25-1.el7
rh-php56-php-snmp
Red Hat:rhel_software_collections:2::el7
before 0:5.6.25-1.el7
0:5.6.25-1.el7
rh-php56-php-soap
Red Hat:rhel_software_collections:2::el7
before 0:5.6.25-1.el7
0:5.6.25-1.el7
rh-php56-php-xml
Red Hat:rhel_software_collections:2::el7
before 0:5.6.25-1.el7
0:5.6.25-1.el7
rh-php56-php-xmlrpc
Red Hat:rhel_software_collections:2::el7
before 0:5.6.25-1.el7
0:5.6.25-1.el7
rh-php56-runtime
Red Hat:rhel_software_collections:2::el7
before 0:2.3-1.el7
0:2.3-1.el7
rh-php56-scldevel
Red Hat:rhel_software_collections:2::el7
before 0:2.3-1.el7
0:2.3-1.el7
imap
SUSE:Linux Enterprise Desktop 12
before 2007e_suse-19.1
2007e_suse-19.1
imap
SUSE:Linux Enterprise Desktop 12 SP1
before 2007e_suse-19.1
2007e_suse-19.1
imap
SUSE:Linux Enterprise Module for Web and Scripting 12
before 2007e_suse-19.1
2007e_suse-19.1
php5
SUSE:Linux Enterprise Module for Web and Scripting 12
before 5.5.14-64.5
5.5.14-64.5
imap
SUSE:Linux Enterprise Software Development Kit 12
before 2007e_suse-19.1
2007e_suse-19.1
php5
SUSE:Linux Enterprise Software Development Kit 12
before 5.5.14-64.5
5.5.14-64.5
imap
SUSE:Linux Enterprise Software Development Kit 12 SP1
before 2007e_suse-19.1
2007e_suse-19.1
php5
SUSE:Linux Enterprise Software Development Kit 12 SP1
before 5.5.14-64.5
5.5.14-64.5
imap
SUSE:Linux Enterprise Workstation Extension 12
before 2007e_suse-19.1
2007e_suse-19.1
imap
SUSE:Linux Enterprise Workstation Extension 12 SP1
before 2007e_suse-19.1
2007e_suse-19.1
libgd2
Ubuntu:14.04:LTS
before 2.1.0-3ubuntu0.2, plus listed versions
2.1.0-22.1.0-32.1.0-3ubuntu0.1
2.1.0-3ubuntu0.2
libgd2
Ubuntu:16.04:LTS
before 2.1.1-4ubuntu0.16.04.2, plus listed versions
2.1.1-4build12.1.1-4build22.1.1-4ubuntu0.16.04.1
2.1.1-4ubuntu0.16.04.2

History

History
WhenChangedSources
2026-11-03aliasesEUVD
2026-11-02createdCVE List, GitHub Advisories, NVD, OSV

References

Show 194 moreShow less
This page doesn't list everything

Left out here: 154 references. The JSON record has them.

MoveEnter Open