CVE-2014-9709
Description
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.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
15.425%
chance of exploitation in the next 30 days
higher than 96.8% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
Timeline
- 2015-03-30Published by the CNA10:00 UTC
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| php php | from 5.4.0 before 5.4.40fixed in 5.4.40from 5.5.0 before 5.5.21fixed in 5.5.21from 5.6.0 before 5.6.5fixed in 5.6.5 | 5.4.405.5.215.6.5 |
| canonical ubuntu_linux | 12.04no fix listed14.04no fix listed15.10no fix listed16.04no fix listed | not listednot listednot listednot listed |
| debian debian_linux | 7.0no fix listed8.0no fix listed | not listednot listed |
| libgd libgd | through 2.1.1no fix listed | not listed |
| opensuse opensuse | 13.1no fix listed13.2no fix listed | not listednot listed |
References
- http://lists.apple.com/archives/security-announce/2015/Sep/msg00008.html
- http://lists.opensuse.org/opensuse-security-announce/2015-05/msg00005.html
- http://lists.opensuse.org/opensuse-updates/2015-04/msg00002.html
- http://marc.info/?l=bugtraq&m=143403519711434&w=2
- http://php.net/ChangeLog-5.php
- http://rhn.redhat.com/errata/RHSA-2015-1053.html
- http://rhn.redhat.com/errata/RHSA-2015-1066.html
- http://rhn.redhat.com/errata/RHSA-2015-1135.html
- http://rhn.redhat.com/errata/RHSA-2015-1218.html
- http://www.debian.org/security/2015/dsa-3215
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:153
- http://www.ubuntu.com/usn/USN-2987-1
- https://bugs.php.net/bug.php?id=68601
- https://security.gentoo.org/glsa/201606-10
- https://security.gentoo.org/glsa/201607-04
- http://advisories.mageia.org/MGASA-2015-0040.html
- http://www.oracle.com/technetwork/topics/security/bulletinapr2015-2511959.html
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- http://www.securityfocus.com/bid/73306
- http://www.securitytracker.com/id/1033703
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2014-9709'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2014-9709'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2014-9709'curl 'https://api.contrastcyber.com/cve_products/CVE-2014-9709'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).