CPANSA-GD-2019-6977: GD vulnerability

Publisher giterlizzi Document category csaf_security_advisory
Initial release date 2019-01-27T00:00:00 Engine CSAF Perl Toolkit 0.25
Current release date 2019-01-27T00:00:00 Build Date
Current version 1 Status final
CVSS v3.1 Base Score 8.8 Severity High
Original language Language en
Also referred to

Vulnerability 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.

Vulnerabilities

CVE-2019-6977

Vulnerability 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.

Weakness CWE-787 : Out-of-bounds Write

Product status

Known affected
Product Score
GD less than 2.72
CVSS Version CVSS Vector CVSS Base Score CVSS Base Severity
3.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H 8.8 High
2.0 AV:N/AC:M/Au:N/C:P/I:P/A:P 6.8 Medium
Fixed

giterlizzi

Namespace: https://github.com/giterlizzi/

gdt@cpan.org

References

Revision history

Version Date of the revision Summary of the revision
1 Sun Jan 27 00:00:00 2019 First release

Sharing rules

TLP:WHITE
For the TLP version see: https://www.first.org/tlp/