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.7th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 97th percentile — 96.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.154 · newest: 0.154 · change: 0.000
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 proof-of-concept exploits
References
- www.mandriva.com/security/advisories (vendor-advisory, Third Party Advisory)
- bugzilla.redhat.com/show_bug.cgi (Third Party Advisory, Issue Tracking)
- www.securitytracker.com/id/1033703 (VDB Entry, Third Party Advisory, vdb-entry)
- lists.opensuse.org/opensuse-updates/2015-04/msg00002.html (vendor-advisory, Mailing List, Third Party Advisory)
- lists.apple.com/archives/security-announce/2015/Sep/msg00008.html (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)
- marc.info/ (vendor-advisory, Mailing List, Third Party Advisory)
- php.net/ChangeLog-5.php (Exploit, Vendor Advisory)
- www.debian.org/security/2015/dsa-3215 (vendor-advisory, Third Party Advisory)
Frequently asked questions
- What is CVE-2014-9709?
- CVE-2014-9709 is a vulnerability in Libgd, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. Published 2015-03-30.
- Is CVE-2014-9709 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.