CVE-2016-7127
Published: 11 September 2016
The imagegammacorrect function in ext/gd/gd.c in PHP before 5.6.25 and 7.x before 7.0.10 does not properly validate gamma values, which allows remote attackers to cause a denial of service (out-of-bounds write) or possibly have unspecified other impact by providing different signs for the second and third arguments.
Notes
Author | Note |
---|---|
tyhicks |
The flaw is in the PHP code sitting in front of libgd2 and libgd2 does not have a part in this particular operation. |
Priority
Status
Package | Release | Status |
---|---|---|
libgd2
Launchpad, Ubuntu, Debian |
precise |
Not vulnerable
(code not present)
|
trusty |
Not vulnerable
(code not present)
|
|
upstream |
Not vulnerable
|
|
xenial |
Not vulnerable
(code not present)
|
|
php5
Launchpad, Ubuntu, Debian |
precise |
Released
(5.3.10-1ubuntu3.25)
|
trusty |
Released
(5.5.9+dfsg-1ubuntu4.20)
|
|
upstream |
Released
(5.6.25)
|
|
xenial |
Does not exist
|
|
Patches:
upstream: http://git.php.net/?p=php-src.git;a=commit;h=1bd103df00f49cf4d4ade2cfe3f456ac058a4eae |
||
php7.0
Launchpad, Ubuntu, Debian |
precise |
Does not exist
|
trusty |
Does not exist
|
|
upstream |
Released
(7.0.10-1)
|
|
xenial |
Released
(7.0.8-0ubuntu0.16.04.3)
|
|
Patches:
upstream: http://git.php.net/?p=php-src.git;a=commit;h=e70069a62fb7252252cad9506fac5baf4ac11d21 |
Severity score breakdown
Parameter | Value |
---|---|
Base score | 9.8 |
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 |