Out-of-Bounds Affecting php package, versions [,5.3.1)


Severity

Recommended
0.0
high
0
10

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

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-UNMANAGED-PHP-2335282
  • published12 Jan 2022
  • disclosed19 Oct 2009
  • creditUnknown

Introduced: 19 Oct 2009

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

How to fix?

Upgrade php to version 5.3.1 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. 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.

References

CVSS Scores

version 3.1