NULL Pointer Dereference Affecting libpng package, versions [,1.0.67)[1.2.0, 1.2.57)[1.4.0, 1.4.20)[1.5.0, 1.5.28)[1.6.0, 1.6.27)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
1.53% (87th 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 Learn

Learn about NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-LIBPNG-2334970
  • published12 Jan 2022
  • disclosed30 Jan 2017
  • creditUnknown

Introduced: 30 Jan 2017

CVE-2016-10087  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade libpng to version 1.0.67, 1.2.57, 1.4.20, 1.5.28, 1.6.27 or higher.

Overview

Affected versions of this package are vulnerable to NULL Pointer Dereference. The png_set_text_2 function in libpng 0.71 before 1.0.67, 1.2.x before 1.2.57, 1.4.x before 1.4.20, 1.5.x before 1.5.28, and 1.6.x before 1.6.27 allows context-dependent attackers to cause a NULL pointer dereference vectors involving loading a text chunk into a png structure, removing the text, and then adding another text chunk to the structure.

CVSS Scores

version 3.1