CVE-2016-5766

Integer overflow in the _gd2GetHeader function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.3, as used in PHP before 5.5.37, 5.6.x before 5.6.23, and 7.x before 7.0.8, allows remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via crafted chunk dimensions in an image.
Configurations

Configuration 1 (hide)

cpe:2.3:o:redhat:openshift:2.0:*:enterprise:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:o:freebsd:freebsd:8.3:*:*:*:*:*:*:*

Configuration 3 (hide)

cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*

Configuration 4 (hide)

cpe:2.3:o:freebsd:freebsd:8.0:*:*:*:*:*:*:*

Configuration 5 (hide)

cpe:2.3:o:redhat:enterprise_linux:5:*:*:*:*:*:*:*

Configuration 6 (hide)

AND
cpe:2.3:a:libgd:libgd:2.2.2:*:*:*:*:*:*:*
OR cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.6.0:alpha1:*:*:*:*:*:*
cpe:2.3:a:php:php:5.6.0:alpha2:*:*:*:*:*:*
cpe:2.3:a:php:php:5.6.0:alpha3:*:*:*:*:*:*
cpe:2.3:a:php:php:5.6.0:alpha4:*:*:*:*:*:*
cpe:2.3:a:php:php:5.6.0:alpha5:*:*:*:*:*:*
cpe:2.3:a:php:php:5.6.0:beta1:*:*:*:*:*:*
cpe:2.3:a:php:php:5.6.0:beta2:*:*:*:*:*:*
cpe:2.3:a:php:php:5.6.0:beta3:*:*:*:*:*:*
cpe:2.3:a:php:php:5.6.0:beta4:*:*:*:*:*:*
cpe:2.3:a:php:php:5.6.1:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.6.2:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.6.3:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.6.4:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.6.5:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.6.6:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.6.7:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.6.8:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.6.9:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.6.10:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.6.11:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.6.12:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.6.13:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.6.14:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.6.15:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.6.16:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.6.17:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.6.18:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.6.19:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.6.20:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.6.21:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.6.22:*:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.0:*:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.1:*:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.2:*:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.3:*:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.4:*:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.5:*:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.6:*:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.7:*:*:*:*:*:*:*

Configuration 7 (hide)

cpe:2.3:o:freebsd:freebsd:10.0:*:*:*:*:*:*:*

Configuration 8 (hide)

cpe:2.3:o:fedoraproject:fedora:23:*:*:*:*:*:*:*

Configuration 9 (hide)

cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*

Configuration 10 (hide)

cpe:2.3:o:freebsd:freebsd:10.1:*:*:*:*:*:*:*

Configuration 11 (hide)

cpe:2.3:o:fedoraproject:fedora:24:*:*:*:*:*:*:*

Configuration 12 (hide)

cpe:2.3:o:freebsd:freebsd:8.4:*:*:*:*:*:*:*

Configuration 13 (hide)

cpe:2.3:o:freebsd:freebsd:9.2:*:*:*:*:*:*:*

Configuration 14 (hide)

cpe:2.3:o:freebsd:freebsd:8.2:*:*:*:*:*:*:*

Configuration 15 (hide)

cpe:2.3:o:freebsd:freebsd:8.1:*:*:*:*:*:*:*

Configuration 16 (hide)

cpe:2.3:o:freebsd:freebsd:9.0:*:*:*:*:*:*:*

Configuration 17 (hide)

cpe:2.3:o:freebsd:freebsd:10.2:*:*:*:*:*:*:*

Configuration 18 (hide)

cpe:2.3:o:fedoraproject:fedora:22:*:*:*:*:*:*:*

Configuration 19 (hide)

cpe:2.3:o:freebsd:freebsd:9.3:*:*:*:*:*:*:*

Configuration 20 (hide)

cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*

Configuration 21 (hide)

cpe:2.3:o:freebsd:freebsd:10.3:*:*:*:*:*:*:*

Configuration 22 (hide)

cpe:2.3:o:freebsd:freebsd:9.1:*:*:*:*:*:*:*

History

No history.

Information

Published : 2016-08-07 10:59

Updated : 2024-02-28 15:21


NVD link : CVE-2016-5766

Mitre link : CVE-2016-5766

CVE.ORG link : CVE-2016-5766


JSON object : View

Products Affected

php

  • php

debian

  • debian_linux

freebsd

  • freebsd

libgd

  • libgd

redhat

  • enterprise_linux
  • openshift

fedoraproject

  • fedora
CWE
CWE-190

Integer Overflow or Wraparound