Buffer overflow in Libgd
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 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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v2 metric
CVSS v2 base score 5.0 (Medium). Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.154, 96.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Libgd
- PHP
- Canonical Ubuntu Linux — versions 12.04, 14.04, 15.10
- Debian Linux — versions 7.0, 8.0
- openSUSE — versions 13.1, 13.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (Live-Hack-CVE/CVE-2014-9709). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- MDVSA-2015:153 (vendor-advisory, Third Party Advisory)
- bugzilla.redhat.com/show_bug.cgi (Third Party Advisory, Issue Tracking)
- www.securitytracker.com/id/1033703 (Third Party Advisory, VDB Entry, vdb-entry)
- openSUSE-SU-2015:0644 (vendor-advisory, Mailing List, Third Party Advisory)
- APPLE-SA-2015-09-30-3 (vendor-advisory, Mailing List, Third Party Advisory)
- bitbucket.org/libgd/gd-libgd/commits/47eb44b2e90ca88a08dca9f9a1aa9041e9587f43 (Third Party Advisory)
- www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html (Third Party Advisory)
- SSRT102066 (vendor-advisory, Mailing List, Third Party Advisory)
- php.net/ChangeLog-5.php (Exploit, Vendor Advisory)
- DSA-3215 (vendor-advisory, Third Party Advisory)