VULNERABILITY INTELLIGENCE

CVE-2016-5766

CVSS score8.8 HIGH
EPSS probability7.50%
CISA KEVNot currently listed
Published2016-08-07
Last modified2026-06-17
CVSS vectorCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Description

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.

Weakness classification

  • CWE-190: Integer Overflow or Wraparound

Primary references