Denial of Service (DoS) Affecting libpng package, versions [,1.0.29)[1.2.0,1.2.21)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
3.44% (92nd 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-2334966
  • published12 Jan 2022
  • disclosed8 Oct 2007
  • creditUnknown

Introduced: 8 Oct 2007

CVE-2007-5266  (opens in a new tab)
CWE-189  (opens in a new tab)

How to fix?

Upgrade libpng to version 1.0.29, 1.2.21 or higher.

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS). Off-by-one error in ICC profile chunk handling in the png_set_iCCP function in pngset.c in libpng before 1.0.29 beta1 and 1.2.x before 1.2.21 beta1 allows remote attackers to cause a denial of service (crash) via a crafted PNG image that prevents a name field from being NULL terminated.

CVSS Scores

version 3.1