What’s Vulnerable › Vulnerabilities
CVE-2014-9709
- Severity: medium (CVSS 5.0 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 15.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2015-03-30 · updated 2026-06-17
- Weakness: CWE-119
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.
Affected products
- Canonical Ubuntu Linux: 12.04, 14.04, 15.10, 16.04
- Debian Linux: 7.0, 8.0
- Libgd: through 2.1.1
- Opensuse: 13.1, 13.2
- PHP: from 5.4.0 before 5.4.40; from 5.5.0 before 5.5.21; from 5.6.0 before 5.6.5 — fixed in 5.4.40, 5.5.21, 5.6.5
How to fix
Upgrade to a fixed version: PHP 5.4.40, 5.5.21, 5.6.5. Check the vendor advisory for mitigations.
References
- http://advisories.mageia.org/MGASA-2015-0040.html
- 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
Get alerted when CVE-2014-9709 or the next vulnerability affects your stack