CVE-2019-6977

Advisory lineage Upstream: 0 Downstream: 19
Modified
Published: 27 Jan 2019, 02:00
Last modified:04 Aug 2024, 20:38

Vulnerability Summary

Overall Risk (default)
high
63/100
CVSS Score
8.8 HIGH
v3.0 (nvd)
EPSS Score
87.88% CRITICAL
88% probability +0.11%
KEV
Not listed
Ransomware
No reports
Public exploits
2 found
Dark Web
Not detected

Timeline

27 Jan 2019, 02:00
Published
Vulnerability first disclosed
04 Aug 2024, 20:38
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v3.0HIGHScore: 8.8CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • v2.0MEDIUMScore: 6.8AV:N/AC:M/Au:N/C:P/I:P/A:P

EPSS Trends

Current EPSS score: 87.88% Percentile: 99%

Techniques & Countermeasures

  • CWE-787Out-of-bounds Write

    The product writes data past the end, or before the beginning, of the intended buffer.

Affected Systems

  • canonicalubuntu_linux

    14.04 | 16.04 | 18.04 | 18.10

  • debiandebian_linux

    8.0 | 9.0

  • libgdlibgd

    2.2.5

  • UnknownPHP

    < 5.6.40 | ≥ 7.0.0, < 7.1.26 | ≥ 7.2.0, < 7.2.14 | 7.3.0

References (19)