Out-of-Bounds Affecting libpng package, versions [,1.0.59)[1.2.0,1.2.49)[1.4.0,1.4.11)[1.5.0,1.5.10)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
5.72% (94th 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-2334969
  • published12 Jan 2022
  • disclosed29 May 2012
  • creditUnknown

Introduced: 29 May 2012

CVE-2011-3048  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade libpng to version 1.0.59, 1.2.49, 1.4.11, 1.5.10 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. The png_set_text_2 function in pngset.c in libpng 1.0.x before 1.0.59, 1.2.x before 1.2.49, 1.4.x before 1.4.11, and 1.5.x before 1.5.10 allows remote attackers to cause a denial of service (crash) or execute arbitrary code via a crafted text chunk in a PNG image file, which triggers a memory allocation failure that is not properly handled, leading to a heap-based buffer overflow.

References

CVSS Scores

version 3.1