Denial of Service (DoS) Affecting libpng package, versions [,1.0.66)[1.2.0, 1.2.56)[1.4.0, 1.4.19)[1.5.0, 1.5.26)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
2.24% (90th 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-2334992
  • published12 Jan 2022
  • disclosed14 Apr 2016
  • creditUnknown

Introduced: 14 Apr 2016

CVE-2015-8540  (opens in a new tab)
CWE-189  (opens in a new tab)

How to fix?

Upgrade libpng to version 1.0.66, 1.2.56, 1.4.19, 1.5.26 or higher.

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS). Integer underflow in the png_check_keyword function in pngwutil.c in libpng 0.90 through 0.99, 1.0.x before 1.0.66, 1.1.x and 1.2.x before 1.2.56, 1.3.x and 1.4.x before 1.4.19, and 1.5.x before 1.5.26 allows remote attackers to have unspecified impact via a space character as a keyword in a PNG image, which triggers an out-of-bounds read.

CVSS Scores

version 3.1