CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2019 · Libgd

CVE-2019-6977
Libgd vulnerability

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.

Affected products

Libgd, Php, Debian Linux, Ubuntu Linux, Storage Automation Store. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Libgd runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Libgd products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.