Description
Integer signedness error in the dynamicGetbuf function in gd_io_dp.c in the GD Graphics Library (aka libgd) through 2.2.3, as used in PHP before 5.6.28 and 7.x before 7.0.13, allows remote attackers to cause a denial of service (stack-based buffer overflow) or possibly have unspecified other impact via a crafted imagecreatefromstring call.
References (8)
Core 8
Core References
Release Notes, Vendor Advisory x_refsource_confirm
http://www.php.net/ChangeLog-7.php
Third Party Advisory, VDB Entry vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/93594
Vendor Advisory x_refsource_confirm
https://github.com/libgd/libgd/commit/53110871935244816bbb9d131da0bccff734bfe9
Third Party Advisory mailing-list
x_refsource_mlist
http://www.openwall.com/lists/oss-security/2016/10/15/1
Third Party Advisory vendor-advisory
x_refsource_debian
http://www.debian.org/security/2016/dsa-3693
Vendor Advisory x_refsource_confirm
https://bugs.php.net/bug.php?id=73280
Release Notes, Vendor Advisory x_refsource_confirm
http://www.php.net/ChangeLog-5.php
Vendor Advisory x_refsource_confirm
https://support.f5.com/csp/article/K21336065?utm_source=f5support&%3Butm_medium=RSS
Scores
CVSS v3
9.8
EPSS
0.0166
EPSS Percentile
82.1%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-119
Status
published
Products (1)
libgd/libgd
< 2.2.3
Published
Jan 04, 2017
Tracked Since
Feb 18, 2026