CVE-2016-1903

Publication date 19 January 2016

Last updated 24 July 2024


Ubuntu priority

Cvss 3 Severity Score

9.1 · Critical

Score breakdown

The gdImageRotateInterpolated function in ext/gd/libgd/gd_interpolation.c in PHP before 5.5.31, 5.6.x before 5.6.17, and 7.x before 7.0.2 allows remote attackers to obtain sensitive information or cause a denial of service (out-of-bounds read and application crash) via a large bgd_color argument to the imagerotate function.

Read the notes from the security team

Status

Package Ubuntu Release Status
libgd2 16.04 LTS xenial
Not affected
15.10 wily
Not affected
14.04 LTS trusty
Not affected
12.04 LTS precise
Not affected
php5 16.04 LTS xenial Not in release
15.10 wily
Fixed 5.6.11+dfsg-1ubuntu3.2
15.04 vivid Ignored end of life
14.04 LTS trusty
Fixed 5.5.9+dfsg-1ubuntu4.16
12.04 LTS precise
Not affected
php7.0 16.04 LTS xenial
Not affected
15.10 wily Not in release
15.04 vivid Not in release
14.04 LTS trusty Not in release
12.04 LTS precise Not in release

Notes


mdeslaur

php uses the system libgd2, patches added to php packages have no effect. introduced by https://github.com/php/php-src/commit/07e52857b5f7a65c1552628e14a8a6aeeea24508 in php. Looks like a php-specific issue, not in libgd2.

Patch details

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

Package Patch details
php5

Severity score breakdown

Parameter Value
Base score 9.1 · Critical
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Scope Unchanged
Confidentiality High
Integrity impact None
Availability impact High
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

References

Related Ubuntu Security Notices (USN)

Other references