CVE-2014-9709Improper Restriction of Operations within the Bounds of a Memory Buffer in PHP

Severity
5.0MEDIUMNVD
OSV4.3
EPSS
16.5%
top 5.08%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMar 30
Latest updateJan 27

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.

CVSS vector

AV:N/AC:L/C:N/I:N/A:PExploitability: 10.0 | Impact: 2.9

Affected Packages5 packages

NVDphp/php5.4.05.4.40+2
debiandebian/libgd2< libgd2 2.1.0-5 (bookworm)
NVDlibgd/libgd2.1.1
NVDopensuse/opensuse13.1, 13.2+1

Also affects: Debian Linux 7.0, 8.0, Ubuntu Linux 12.04, 14.04, 15.10, 16.04

🔴Vulnerability Details

4
GHSA
GHSA-p5p8-3769-2g8g: The GetCode_ function in gd_gif_in2022-05-13
OSV
libgd2 vulnerabilities2016-05-31
CVEList
CVE-2014-9709: The GetCode_ function in gd_gif_in2015-03-30
OSV
CVE-2014-9709: The GetCode_ function in gd_gif_in2015-03-30

📋Vendor Advisories

5
CISA ICS
Festo Didactic SE MES PC2026-01-27
Ubuntu
GD library vulnerabilities2016-05-31
Red Hat
gd: buffer read overflow in gd_gif_in.c2014-12-13
Debian
CVE-2014-9709: libgd2 - The GetCode_ function in gd_gif_in.c in GD 2.1.1 and earlier, as used in PHP bef...2014
Apple
CVE-2014-9709: OS X El Capitan v10.11

💬Community

2
Bugzilla
CVE-2014-9709 gd: buffer read overflow in gd_gif_in.c2015-02-03
Bugzilla
CVE-2014-3916 ruby: DoS via long string in str_buf_cat()2014-11-17