Integer Overflow or Wraparound Affecting libgd2 package, versions <2.2.4-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
3.72% (90th 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-ECHOLATEST-LIBGD2-18477667
  • published31 Jul 2026
  • disclosed15 Mar 2017

Introduced: 15 Mar 2017

CVE-2016-10168  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Echo:latest libgd2 to version 2.2.4-1 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 Echo. See How to fix? for Echo:latest relevant fixed versions and status.

Integer overflow in gd_io.c in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers to have unspecified impact via vectors involving the number of horizontal and vertical chunks in an image.