CVE-2014-9709
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 15.4% chance of exploitation in the next 30 days (EPSS). Higher than most.
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 15.4% in the next 30 days (EPSS).
- Severity: 5.0 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 15.4% · EPSS, next 30 days
- Weakness
- CWE-119 · Buffer errors
- Record status
- Modified
Affected
- PHP < 5.4.40
- PHP < 5.5.21
- PHP < 5.6.5
- Opensuse 13.1
- Opensuse 13.2
- Libgd ≤ 2.1.1
- Debian Linux 7.0
- Debian Linux 8.0
Attack profile CVSS 2.0 · 5.0
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
Raw vector
AV:N/AC:L/Au:N/C:N/I:N/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2014-9709.md and follow it. Check whether this project is affected by CVE-2014-9709. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://php.net/ChangeLog-5.php
- https://bugs.php.net/bug.php?id=68601
- http://php.net/ChangeLog-5.php
- https://bugs.php.net/bug.php?id=68601
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
- 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
- http://www.ubuntu.com/usn/USN-2987-1
- https://bitbucket.org/libgd/gd-libgd/commits/47eb44b2e90ca88a08dca9f9a1aa9041e9587f43
- https://bugs.php.net/bug.php?id=68601
- https://bugzilla.redhat.com/show_bug.cgi?id=1188639
- https://security.gentoo.org/glsa/201606-10
- https://security.gentoo.org/glsa/201607-04
- https://support.apple.com/HT205267
- http://advisories.mageia.org/MGASA-2015-0040.html
- http://lists.apple.com/archives/security-announce/2015/Sep/msg00008.html