CVE-2019-6977

2019-01-26T00:00:00
ID UB:CVE-2019-6977
Type ubuntucve
Reporter ubuntu.com
Modified 2019-01-26T00:00:00

Description

gdImageColorMatch in gd_color_match.c in the GD Graphics Library (aka LibGD) 2.2.5, as used in the imagecolormatch function in PHP before 5.6.40, 7.x before 7.1.26, 7.2.x before 7.2.14, and 7.3.x before 7.3.1, has a heap-based buffer overflow. This can be exploited by an attacker who is able to trigger imagecolormatch calls with crafted image data.

Bugs

  • <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=920645>
  • <https://bugs.php.net/bug.php?id=77270>

Notes

Author| Note
---|---
mdeslaur | php uses the system libgd2 as of 2019-01-30, commit only in php, not in libgd2