Out-of-Bounds Affecting libgd2 package, versions <2.0.36~rc1~dfsg-3.1


Severity

Recommended
medium

Based on Debian security rating.

Threat Intelligence

EPSS
1.81% (88th 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-383238
  • published19 Oct 2009
  • disclosed19 Oct 2009

Introduced: 19 Oct 2009

CVE-2009-3546  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade Debian:10 libgd2 to version 2.0.36rc1dfsg-3.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.

The _gdGetColors function in gd_gd.c in PHP 5.2.11 and 5.3.x before 5.3.1, and the GD Graphics Library 2.x, does not properly verify a certain colorsTotal structure member, which might allow remote attackers to conduct buffer overflow or buffer over-read attacks via a crafted GD file, a different vulnerability than CVE-2009-3293. NOTE: some of these details are obtained from third party information.

CVSS Scores

version 3.1