Use After Free Affecting libpng package, versions [,1.6.37)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.3% (70th 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 Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-LIBPNG-2334983
  • published12 Jan 2022
  • disclosed4 Feb 2019
  • creditUnknown

Introduced: 4 Feb 2019

CVE-2019-7317  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade libpng to version 1.6.37 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free png_image_free in png.c in libpng 1.6.x before 1.6.37 has a use-after-free because png_image_free_function is called under png_safe_execute.

References

CVSS Scores

version 3.1