Skip to content
OpenAdvisories
Unscored CVE-2016-1903 EUVD-2016-2996GHSA-xvcw-3rfr-7w27

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 a…

Published Jan 19, 2016 · Updated Aug 5, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS php5 5.5.9+dfsg-1ubuntu4.16 USN-2952-1
ReleasePackageFixed inAdvisory
RHEL 2 rh-php56 +2 2.3-1.el6 RHSA-2016:2750
RHEL 2 rh-php56-php +27 5.6.25-1.el6 RHSA-2016:2750
RHEL 2 rh-php56-php-pear 1:1.9.5-4.el6 RHSA-2016:2750
ReleasePackageFixed inAdvisory
SLES 12 SP1 php5 5.5.14-42.2 SUSE-SU-2016:0284-1
SLES 12 php5 5.5.14-42.2 SUSE-SU-2016:0284-1

Advisories 3

References