CVE-2016-8670Improper Restriction of Operations within the Bounds of a Memory Buffer in Libgd

Severity
9.8CRITICALNVD
OSV5.5
EPSS
1.7%
top 17.91%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedJan 4
Latest updateMay 17

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.

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9

Affected Packages1 packages

NVDlibgd/libgd2.2.3

🔴Vulnerability Details

4
GHSA
GHSA-7hrm-234x-37p5: Integer signedness error in the dynamicGetbuf function in gd_io_dp2022-05-17
OSV
CVE-2016-8670: Integer signedness error in the dynamicGetbuf function in gd_io_dp2017-01-04
CVEList
CVE-2016-8670: Integer signedness error in the dynamicGetbuf function in gd_io_dp2017-01-04
OSV
libgd2 vulnerabilities2016-11-01

📋Vendor Advisories

4
Apple
CVE-2016-8670: macOS Sierra 10.12.32017-01-23
Ubuntu
GD library vulnerabilities2016-11-01
Red Hat
php: Stack based buffer overflow in dynamicGetbuf2016-10-10
Debian
CVE-2016-8670: libgd2 - Integer signedness error in the dynamicGetbuf function in gd_io_dp.c in the GD G...2016

💬Community

4
Bugzilla
CVE-2016-8670 php: gd, php: Stack based buffer overflow in dynamicGetbuf [fedora-all]2016-11-04
Bugzilla
CVE-2016-8670 gd: Stack based buffer overflow in dynamicGetbuf [fedora-all]2016-11-02
Bugzilla
CVE-2016-8670 php: Stack based buffer overflow in dynamicGetbuf2016-11-02
Bugzilla
CVE-2016-8670 gd, php: Stack based buffer overflow in dynamicGetbuf [fedora-all]2016-11-02