Out-of-Bounds Affecting libgd/libgd package, versions [,2.2.2)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.47% (76th 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-UNMANAGED-LIBGDLIBGD-2365312
  • published12 Jan 2022
  • disclosed7 Aug 2016
  • creditUnknown

Introduced: 7 Aug 2016

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

How to fix?

Upgrade libgd/libgd to version 2.2.2 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds gd_xbm.c in the GD Graphics Library (aka libgd) before 2.2.0, as used in certain custom PHP 5.5.x configurations, allows context-dependent attackers to obtain sensitive information from process memory or cause a denial of service (stack-based buffer under-read and application crash) via a long name.

CVSS Scores

version 3.1