The GetCode_ function in gd_gif_in.c in GD 2.1.1 and earlier, as used in PHP before…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Partial
- Fix status
- Partial Red Hat: 19 fixed, 4 without a fix
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-119 and the CVSS impact.
Summary
The GetCode_ function in gd_gif_in.c in GD 2.1.1 and earlier, as used in PHP before 5.5.21 and 5.6.x before 5.6.5, allows remote attackers to cause a denial of service (buffer over-read and application crash) via a crafted GIF image that is improperly handled by the gdImageCreateFromGif function.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 10
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 5.4.0 to before 5.4.40; 5.5.0 to before 5.5.21; 5.6.0 to before 5.6.5 | Vulnerable | PHP |
| cpe:2.3:o:opensuse:opensuse:13.1:*:*:*:*:*:*:* | 13.1 | Vulnerable | openSUSE |
| cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:* | 13.2 | Vulnerable | openSUSE |
| cpe:2.3:a:libgd:libgd:*:*:*:*:*:*:*:* | up to 2.1.1 | Vulnerable | Libgd |
| cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Debian |
| cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:* | 12.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* | 14.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:* | 15.10 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* | 16.04 | Vulnerable | Canonical |
- cpe:2.3:a:php:php:*:*:*:*:*:*:*:* Versions 5.4.0 to before 5.4.40; 5.5.0 to before 5.5.21; 5.6.0 to before 5.6.5 Vulnerable ·PHP
- cpe:2.3:o:opensuse:opensuse:13.1:*:*:*:*:*:*:* Versions 13.1 Vulnerable ·openSUSE
- cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:* Versions 13.2 Vulnerable ·openSUSE
- cpe:2.3:a:libgd:libgd:*:*:*:*:*:*:*:* Versions up to 2.1.1 Vulnerable ·Libgd
- cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
- 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 4 advisories
- RHSA-2015:1218 Released 2015-07-09 · Red Hat rating Moderatephp security update
- Red Hat Enterprise Linux Desktop Optional (v. 6) php-5.3.3-46.el6_6, php-bcmath-5.3.3-46.el6_6, php-cli-5.3.3-46.el6_6 +24
- Red Hat Enterprise Linux HPC Node (v. 6) php-5.3.3-46.el6_6, php-cli-5.3.3-46.el6_6, php-common-5.3.3-46.el6_6
- Red Hat Enterprise Linux HPC Node Optional (v. 6) php-5.3.3-46.el6_6, php-bcmath-5.3.3-46.el6_6, php-dba-5.3.3-46.el6_6 +22
- Red Hat Enterprise Linux Server (v. 6) php-5.3.3-46.el6_6, php-cli-5.3.3-46.el6_6, php-common-5.3.3-46.el6_6 +9
- Red Hat Enterprise Linux Server Optional (v. 6) php-bcmath-5.3.3-46.el6_6, php-dba-5.3.3-46.el6_6, php-devel-5.3.3-46.el6_6 +12
- Red Hat Enterprise Linux Workstation (v. 6) php-5.3.3-46.el6_6, php-cli-5.3.3-46.el6_6, php-common-5.3.3-46.el6_6 +9
- Red Hat Enterprise Linux Workstation Optional (v. 6) php-bcmath-5.3.3-46.el6_6, php-dba-5.3.3-46.el6_6, php-devel-5.3.3-46.el6_6 +12
- RHSA-2015:1135 Released 2015-06-23 · Red Hat rating Importantphp security and bug fix update
- Red Hat Enterprise Linux Client Optional (v. 7) php-5.4.16-36.el7_1, php-bcmath-5.4.16-36.el7_1, php-cli-5.4.16-36.el7_1 +22
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) php-5.4.16-36.el7_1, php-bcmath-5.4.16-36.el7_1, php-cli-5.4.16-36.el7_1 +22
- Red Hat Enterprise Linux Server (v. 7) php-5.4.16-36.ael7b_1, php-5.4.16-36.el7_1, php-cli-5.4.16-36.ael7b_1 +25
- Red Hat Enterprise Linux Server Optional (v. 7) php-bcmath-5.4.16-36.ael7b_1, php-bcmath-5.4.16-36.el7_1, php-dba-5.4.16-36.ael7b_1 +19
- Red Hat Enterprise Linux Workstation (v. 7) php-5.4.16-36.el7_1, php-cli-5.4.16-36.el7_1, php-common-5.4.16-36.el7_1 +11
- Red Hat Enterprise Linux Workstation Optional (v. 7) php-bcmath-5.4.16-36.el7_1, php-dba-5.4.16-36.el7_1, php-devel-5.4.16-36.el7_1 +8
- RHSA-2015:1053 Released 2015-06-04 · Red Hat rating Moderatephp55 security and bug fix update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) php55-2.0-1.el6, php55-php-5.5.21-2.el6, php55-php-bcmath-5.5.21-2.el6 +27
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) php55-2.0-1.el7, php55-php-5.5.21-2.el7, php55-php-bcmath-5.5.21-2.el7 +25
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.5) php55-2.0-1.el6, php55-php-5.5.21-2.el6, php55-php-bcmath-5.5.21-2.el6 +27
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.6) php55-2.0-1.el6, php55-php-5.5.21-2.el6, php55-php-bcmath-5.5.21-2.el6 +27
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) php55-2.0-1.el6, php55-php-5.5.21-2.el6, php55-php-bcmath-5.5.21-2.el6 +27
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) php55-2.0-1.el7, php55-php-5.5.21-2.el7, php55-php-bcmath-5.5.21-2.el7 +25
Show 1 more Red Hat advisories
- RHSA-2015:1066 Released 2015-06-04 · Red Hat rating Importantphp54 security and bug fix update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) php54-2.0-1.el6, php54-php-5.4.40-1.el6, php54-php-bcmath-5.4.40-1.el6 +26
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) php54-2.0-1.el7, php54-php-5.4.40-1.el7, php54-php-bcmath-5.4.40-1.el7 +24
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.5) php54-2.0-1.el6, php54-php-5.4.40-1.el6, php54-php-bcmath-5.4.40-1.el6 +26
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.6) php54-2.0-1.el6, php54-php-5.4.40-1.el6, php54-php-bcmath-5.4.40-1.el6 +26
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) php54-2.0-1.el6, php54-php-5.4.40-1.el6, php54-php-bcmath-5.4.40-1.el6 +26
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) php54-2.0-1.el7, php54-php-5.4.40-1.el7, php54-php-bcmath-5.4.40-1.el7 +24
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Will not fix |
| Red Hat Software Collections | Affected | No fix yet |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2015:1135 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2015:1135 |
| Red Hat Enterprise Linux Desktop Optional (v. 6) | Fixed | RHSA-2015:1218 |
| Red Hat Enterprise Linux HPC Node (v. 6) | Fixed | RHSA-2015:1218 |
| Red Hat Enterprise Linux HPC Node Optional (v. 6) | Fixed | RHSA-2015:1218 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2015:1218 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2015:1135 |
| Red Hat Enterprise Linux Server Optional (v. 6) | Fixed | RHSA-2015:1218 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2015:1135 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2015:1218 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2015:1135 |
| Red Hat Enterprise Linux Workstation Optional (v. 6) | Fixed | RHSA-2015:1218 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2015:1135 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2015:1053, RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2015:1053, RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.5) | Fixed | RHSA-2015:1053, RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.6) | Fixed | RHSA-2015:1053, RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2015:1053, RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2015:1053, RHSA-2015:1066 |
Not affected: 2 products
- Red Hat Enterprise Linux 5
- Red Hat Software Collections
Timeline
- 2026-10-02 Threatist record created from CVE-2014-9709
- 2026-10-03 Alias added: GHSA-p5p8-3769-2g8g
References
Exploit 1
Advisory 20
- MDVSA-2015:153
- https://bugzilla.redhat.com/show_bug.cgi?id=1188639
- openSUSE-SU-2015:0644
- APPLE-SA-2015-09-30-3
- https://bitbucket.org/libgd/gd-libgd/commits/47eb44b2e90ca88a08dca9f9a1aa9041e9587f43
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- SSRT102066
- DSA-3215
- SUSE-SU-2015:0868
- https://support.apple.com/HT205267
- GLSA-201607-04
- http://www.oracle.com/technetwork/topics/security/bulletinapr2015-2511959.html
- USN-2987-1
- RHSA-2015:1135
- https://bugs.php.net/bug.php?id=68601
- RHSA-2015:1053
- http://advisories.mageia.org/MGASA-2015-0040.html
- GLSA-201606-10
- RHSA-2015:1066
- RHSA-2015:1218
Sources
- CVE-2014-9709 · CVE Program
- CVE-2014-9709 · NVD
- FIRST EPSS
- GHSA-p5p8-3769-2g8g · GitHub Advisory Database · CC BY 4.0
- CVE-2014-9709 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences