CVE-2016-8670
Publication date 14 October 2016
Last updated 25 August 2025
Ubuntu priority
Cvss 3 Severity Score
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.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| php5 | ||
| 16.04 LTS xenial | Not in release | |
| 14.04 LTS trusty |
Not affected
|
|
| libgd2 | ||
| 16.04 LTS xenial |
Fixed 2.1.1-4ubuntu0.16.04.5
|
|
| 14.04 LTS trusty |
Fixed 2.1.0-3ubuntu0.5
|
|
| php7.0 | ||
| 16.04 LTS xenial |
Not affected
|
|
| 14.04 LTS trusty | Not in release | |
Notes
mdeslaur
php uses the system libgd2 0019-Patch-for-security-bug-https-bugs.php.net-bug.php-id.patch in Debian jessie update.
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Network |
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity impact | High |
| Availability impact | High |
| Vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References
Related Ubuntu Security Notices (USN)
- USN-3117-1
- GD library vulnerabilities
- 1 November 2016