Memory Leak Affecting libpng package, versions [,1.2.39)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.27% (68th 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 Memory Leak vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-LIBPNG-2334999
  • published12 Jan 2022
  • disclosed31 Aug 2011
  • creditUnknown

Introduced: 31 Aug 2011

CVE-2009-5063  (opens in a new tab)
CWE-401  (opens in a new tab)

How to fix?

Upgrade libpng to version 1.2.39 or higher.

Overview

Affected versions of this package are vulnerable to Memory Leak. Memory leak in the embedded_profile_len function in pngwutil.c in libpng before 1.2.39beta5 allows context-dependent attackers to cause a denial of service (memory leak or segmentation fault) via a JPEG image containing an iCCP chunk with a negative embedded profile length. NOTE: this is due to an incomplete fix for CVE-2006-7244.

CVSS Scores

version 3.1