CVE-2014-9709: 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…
Noroxi assessment
Priority: Monitor (action score 25/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 15.4% (FIRST EPSS); higher than 96.8% of all records.
- No special conditions are required; it is repeatable.
- Fixed version: libgd2 (Debian:12) 2.1.0-5; libgd2 (Debian:6.0) 2.0.36~rc1~dfsg-5+deb6u1; libgd2 (Debian:7) 2.0.36~rc1~dfsg-6.1+deb7u1.
Low priority for now. Upgrade to libgd2 (Debian:12) 2.1.0-5; libgd2 (Debian:6.0) 2.0.36~rc1~dfsg-5+deb6u1; libgd2 (Debian:7) 2.0.36~rc1~dfsg-6.1+deb7u1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Mar 30, 2015
- Updated
- Jun 16, 2026
- EPSS
- 15.4% · 96th percentile
- CWE
- CWE-119
Report tools
Action score
25
Low priority for now.
- CVSS
- 20 / 40 · 5.0 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 5 / 30 · 15.4%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| php | php | cpe:2.3:a:php:php |
| opensuse | opensuse | cpe:2.3:o:opensuse:opensuse |
| libgd | libgd | cpe:2.3:a:libgd:libgd |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
Using php? Add it to your stack and be the first to know about CVEs like this one. (PHP)
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- php php5.4.0 and later · before 5.4.40
- php php5.5.0 and later · before 5.5.21
- php php5.6.0 and later · before 5.6.5
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | libgd2 | before 2.1.0-5 | 2.1.0-5 |
| Debian:6.0 | libgd2 | before 2.0.36~rc1~dfsg-5+deb6u1 | 2.0.36~rc1~dfsg-5+deb6u1 |
| Debian:7 | libgd2 | before 2.0.36~rc1~dfsg-6.1+deb7u1 | 2.0.36~rc1~dfsg-6.1+deb7u1 |
| Red Hat:enterprise_linux:6::client | php | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
| Red Hat:enterprise_linux:6::client | php-bcmath | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
| Red Hat:enterprise_linux:6::client | php-cli | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
| Red Hat:enterprise_linux:6::client | php-common | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
| Red Hat:enterprise_linux:6::client | php-dba | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
| Red Hat:enterprise_linux:6::client | php-debuginfo | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
| Red Hat:enterprise_linux:6::client | php-devel | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
| Red Hat:enterprise_linux:6::client | php-embedded | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
| Red Hat:enterprise_linux:6::client | php-enchant | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
| Red Hat:enterprise_linux:6::client | php-fpm | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
| Red Hat:enterprise_linux:6::client | php-gd | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
| Red Hat:enterprise_linux:6::client | php-imap | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
| Red Hat:enterprise_linux:6::client | php-intl | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
| Red Hat:enterprise_linux:6::client | php-ldap | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
| Red Hat:enterprise_linux:6::client | php-mbstring | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
| Red Hat:enterprise_linux:6::client | php-mysql | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
| Red Hat:enterprise_linux:6::client | php-odbc | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
| Red Hat:enterprise_linux:6::client | php-pdo | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
| Red Hat:enterprise_linux:6::client | php-pgsql | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
| Red Hat:enterprise_linux:6::client | php-process | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
| Red Hat:enterprise_linux:6::client | php-pspell | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
+96
Same product
php: all recordsOther highest-scoring records for the same primary product.
- CVE-2024-4577Argument Injection in PHP-CGIKEV99Now
- CVE-2019-11043Underflow in PHP-FPM can lead to RCEKEV99Now
- CVE-2012-1823sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not properly handle…KEV99Now
Published before and after this one in the same product
- ← EarlierCVE-2014-9653Mar 30, 2015 · readelf.c in file before 5.22, as used in the Fileinfo component in PHP before 5.4.37, 5.5.x before 5.5.21, and 5.6.x before 5.6.5, does…31Monitor
- ← EarlierCVE-2014-9705Mar 30, 2015 · Heap-based buffer overflow in the enchant_broker_request_dict function in ext/enchant/enchant.c in PHP before 5.4.38, 5.5.x before 5.5.22…36Monitor
- Later →CVE-2015-0273Mar 30, 2015 · Multiple use-after-free vulnerabilities in ext/date/php_date.c in PHP before 5.4.38, 5.5.x before 5.5.22, and 5.6.x before 5.6.6 allow…43Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:libgd2 | 2.1.0-5 · Debian:12 | Package registry (OSV) |
| red hat:php55 | 0:2.0-1.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:php55-php | 0:5.5.21-2.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:php55-php-bcmath | 0:5.5.21-2.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:php55-php-cli | 0:5.5.21-2.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:php55-php-common | 0:5.5.21-2.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:php55-php-dba | 0:5.5.21-2.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:php55-php-debuginfo | 0:5.5.21-2.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:php55-php-devel | 0:5.5.21-2.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:php55-php-enchant | 0:5.5.21-2.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:php55-php-fpm | 0:5.5.21-2.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:php55-php-gd | 0:5.5.21-2.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:php55-php-gmp | 0:5.5.21-2.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| suse:gd | 2.1.0-5.1 · SUSE:Linux Enterprise Desktop 12 | Package registry (OSV) |
| suse:php5 | 5.5.14-22.1 · SUSE:Linux Enterprise Module for Web and Scripting 12 | Package registry (OSV) |
| suse:php74 | 7.4.33-1.50.2 · SUSE:Linux Enterprise Module for Web and Scripting 12 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- P · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- P
Weakness class (CWE)
CWE-119 · Improper Restriction of Operations within the Bounds of a Memory BufferCVSS vector
AV:N/AC:L/Au:N/C:N/I:N/A:P
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Overflow BuffersCAPEC-100likelihood: High · Very High
- Buffer ManipulationCAPEC-123likelihood: High · Very High
- Client-side Injection-induced Buffer OverflowCAPEC-14likelihood: Medium · High
- Filter Failure through Buffer OverflowCAPEC-24likelihood: High · High
- MIME ConversionCAPEC-42likelihood: High · High
- Overflow Binary Resource FileCAPEC-44likelihood: High · Very High
- Buffer Overflow via Symbolic LinksCAPEC-45likelihood: High · High
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (19 more)Show less
- lists.apple.com/archives/security-announce/2015/Sep/msg00008.html
- lists.opensuse.org/opensuse-security-announce/2015-05/msg00005.html
- lists.opensuse.org/opensuse-updates/2015-04/msg00002.html
- marc.info/?l=bugtraq&m=143403519711434&w=2
- rhn.redhat.com/errata/RHSA-2015-1053.html
- rhn.redhat.com/errata/RHSA-2015-1066.html
- rhn.redhat.com/errata/RHSA-2015-1135.html
- rhn.redhat.com/errata/RHSA-2015-1218.html
- www.debian.org/security/2015/dsa-3215
- www.mandriva.com/security/advisories?name=MDVSA-2015:153
- www.oracle.com/technetwork/topics/security/bulletinapr2015-2511959.html
- www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- www.securityfocus.com/bid/73306
- www.securitytracker.com/id/1033703
- www.ubuntu.com/usn/USN-2987-1
- bitbucket.org/libgd/gd-libgd/commits/47eb44b2e90ca88a08dca9f9a1aa9041e9587f43
- bugs.php.net/bug.php?id=68601
- bugzilla.redhat.com/show_bug.cgi?id=1188639
- security.gentoo.org/glsa/201606-10
Vendor advisories and official records. Exploit/PoC links are deliberately left out.