Out-of-bounds Write

Affecting libgd2 package, versions <2.1.0-5+deb8u12

Report new vulnerabilities
Do your applications use this vulnerable package? Test your applications

Overview

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.

References

CVSS Score

8.8
high severity
  • Attack Vector
    Network
  • Attack Complexity
    Low
  • Privileges Required
    None
  • User Interaction
    Required
  • Scope
    Unchanged
  • Confidentiality
    High
  • Integrity
    High
  • Availability
    High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:F
CVE
CVE-2019-6977
CWE
CWE-787
Snyk ID
SNYK-DEBIAN8-LIBGD2-382974
Disclosed
27 Jan, 2019
Published
27 Jan, 2019