Out-of-Bounds Affecting libpng package, versions [,1.5.1)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
28.15% (97th 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-2334977
  • published12 Jan 2022
  • disclosed18 Jan 2011
  • creditUnknown

Introduced: 18 Jan 2011

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

How to fix?

Upgrade libpng to version 1.5.1 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds pngrtran.c in libpng 1.5.x before 1.5.1 allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted palette-based PNG image that triggers a buffer overflow, related to the png_do_expand_palette function, the png_do_rgb_to_gray function, and an integer underflow. NOTE: some of these details are obtained from third party information.

References

CVSS Scores

version 3.1