CVE-2016-5766

Impact:
Moderate
Public Date:
2016-06-23
Bugzilla:
1351068: CVE-2016-5766 gd: Integer Overflow in _gd2GetHeader() resulting in heap overflow
An integer overflow flaw, leading to a heap-based buffer overflow was found in the imagecreatefromgd2() function of PHP's gd extension. A remote attacker could use this flaw to crash a PHP application or execute arbitrary code with the privileges of the user running that PHP application using gd via a specially crafted GD2 image.

Find out more about CVE-2016-5766 from the MITRE CVE dictionary dictionary and NIST NVD.

CVSS v2 metrics

Base Score 5.1
Base Metrics AV:N/AC:H/Au:N/C:P/I:P/A:P
Access Vector Network
Access Complexity High
Authentication None
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial

CVSS v3 metrics

CVSS3 Base Score 5.6
CVSS3 Base Metrics CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Attack Vector Network
Attack Complexity High
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality Low
Integrity Impact Low
Availability Impact Low

Find out more about Red Hat support for the Common Vulnerability Scoring System (CVSS).

Red Hat Security Errata

Platform Errata Release Date
Red Hat Software Collections for Red Hat Enterprise Linux 7 (rh-php56-php) RHSA-2016:2750 2016-11-15
Red Hat Enterprise Linux 7 (php) RHSA-2016:2598 2016-11-03
Red Hat Software Collections for Red Hat Enterprise Linux 6 (rh-php56-php) RHSA-2016:2750 2016-11-15

Affected Packages State

Platform Package State
Red Hat Software Collections for Red Hat Enterprise Linux php54-php Will not fix
Red Hat Software Collections for Red Hat Enterprise Linux php55-php Will not fix
Red Hat OpenShift Enterprise 2 gd Will not fix
Red Hat Enterprise Linux 7 gd Will not fix
Red Hat Enterprise Linux 6 gd Will not fix
Red Hat Enterprise Linux 6 php Will not fix
Red Hat Enterprise Linux 5 gd Will not fix
Red Hat Enterprise Linux 5 php53 Will not fix
Red Hat Enterprise Linux 5 php Will not fix
Last Modified