Numeric Errors Affecting libgd2 package, versions <2.0.35.dfsg-1


Severity

Recommended
0.0
medium
0
10

Based on Debian security rating.

Threat Intelligence

EPSS
5.41% (94th 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-DEBIAN10-LIBGD2-383194
  • published4 Sept 2007
  • disclosed4 Sept 2007

Introduced: 4 Sep 2007

CVE-2007-3996  (opens in a new tab)
CWE-189  (opens in a new tab)

How to fix?

Upgrade Debian:10 libgd2 to version 2.0.35.dfsg-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 Debian. See How to fix? for Debian:10 relevant fixed versions and status.

Multiple integer overflows in libgd in PHP before 5.2.4 allow remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via a large (1) srcW or (2) srcH value to the (a) gdImageCopyResized function, or a large (3) sy (height) or (4) sx (width) value to the (b) gdImageCreate or the (c) gdImageCreateTrueColor function.

References

CVSS Scores

version 3.1