Out-of-Bounds Affecting libgd2 package, versions <2.2.1-1ubuntu3.2


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
4.71% (93rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1610-LIBGD2-383068
  • published4 Jan 2017
  • disclosed4 Jan 2017

Introduced: 4 Jan 2017

CVE-2016-8670  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade Ubuntu:16.10 libgd2 to version 2.2.1-1ubuntu3.2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libgd2 package and not the libgd2 package as distributed by Ubuntu. See How to fix? for Ubuntu:16.10 relevant fixed versions and status.

Integer signedness error in the dynamicGetbuf function in gd_io_dp.c in the GD Graphics Library (aka libgd) through 2.2.3, as used in PHP before 5.6.28 and 7.x before 7.0.13, allows remote attackers to cause a denial of service (stack-based buffer overflow) or possibly have unspecified other impact via a crafted imagecreatefromstring call.