Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2019-6977

8.8 · HIGH
Published Jan 27, 2019 libgd CWE-787 EPSS 71.50% (99th pctl)

Overview

CVE-2019-6977 is a high-severity vulnerability affecting libgd libgd. It was published on January 27, 2019 and has a CVSS 3.0 base score of 8.8 (HIGH).

This vulnerability has a CVSS 3.0 base score of 8.8, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

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

Remediation

Check the references section for vendor advisories and patches from libgd. Update libgd to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
php php >= 0, < 5.6.40 Affected

Frequently Asked Questions

What is CVE-2019-6977?

CVE-2019-6977 is a high-severity vulnerability affecting libgd libgd. It was published on January 27, 2019 and has a CVSS 3.0 base score of 8.8 (HIGH).

How severe is CVE-2019-6977?

This vulnerability has a CVSS 3.0 base score of 8.8, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2019-6977?

Check the references section for vendor advisories and patches from libgd. Update libgd to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2019-6977?

CyberStrike's AI-powered security agents can automatically detect CVE-2019-6977 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.