Buffer Overflow Affecting libpng package, versions [1.0.0,1.0.55)[1.2.0,1.2.45)[1.4.0,1.4.8)[1.5.0,1.5.4)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
1.12% (85th 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-LIBPNG-2334965
  • published12 Jan 2022
  • disclosed17 Jul 2011
  • creditUnknown

Introduced: 17 Jul 2011

CVE-2011-2690  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade libpng to version 1.0.55, 1.2.45, 1.4.8, 1.5.4 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow. Buffer overflow in libpng 1.0.x before 1.0.55, 1.2.x before 1.2.45, 1.4.x before 1.4.8, and 1.5.x before 1.5.4, when used by an application that calls the png_rgb_to_gray function but not the png_set_expand function, allows remote attackers to overwrite memory with an arbitrary amount of data, and possibly have unspecified other impact, via a crafted PNG image.

References

CVSS Scores

version 3.1