CVE-2016-7127

Publication date 11 September 2016

Last updated 24 July 2024


Ubuntu priority

Cvss 3 Severity Score

9.8 · Critical

Score breakdown

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.

Read the notes from the security team

Status

Package Ubuntu Release Status
libgd2 16.04 LTS xenial
Not affected
14.04 LTS trusty
Not affected
12.04 LTS precise
Not affected
php5 16.04 LTS xenial Not in release
14.04 LTS trusty
Fixed 5.5.9+dfsg-1ubuntu4.20
12.04 LTS precise
Fixed 5.3.10-1ubuntu3.25
php7.0 16.04 LTS xenial
Fixed 7.0.8-0ubuntu0.16.04.3
14.04 LTS trusty Not in release
12.04 LTS precise Not in release

Notes


tyhicks

The flaw is in the PHP code sitting in front of libgd2 and libgd2 does not have a part in this particular operation.

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
php5
php7.0

Severity score breakdown

Parameter Value
Base score 9.8 · Critical
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