Buffer Overflow Affecting libpng package, versions [,1.0.64)[1.1.1,1.2.54)[1.3.0,1.4.17)[1.5.0,1.5.24)[1.6.0,1.6.19)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
2.12% (89th 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-2335007
  • published12 Jan 2022
  • disclosed13 Nov 2015
  • creditUnknown

Introduced: 13 Nov 2015

CVE-2015-8126  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade libpng to version 1.0.64, 1.2.54, 1.4.17, 1.5.24, 1.6.19 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow. Multiple buffer overflows in the (1) png_set_PLTE and (2) png_get_PLTE functions in libpng before 1.0.64, 1.1.x and 1.2.x before 1.2.54, 1.3.x and 1.4.x before 1.4.17, 1.5.x before 1.5.24, and 1.6.x before 1.6.19 allow remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a small bit-depth value in an IHDR (aka image header) chunk in a PNG image.

CVSS Scores

version 3.1