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.57% (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 Learn

Learn about Denial of Service (DoS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-LIBPNG-2334981
  • published12 Jan 2022
  • disclosed8 Oct 2007
  • creditUnknown

Introduced: 8 Oct 2007

CVE-2007-5268  (opens in a new tab)
CWE-400  (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) pngrtran.c in libpng before 1.0.29 and 1.2.x before 1.2.21 use (1) logical instead of bitwise operations and (2) incorrect comparisons, which might allow remote attackers to cause a denial of service (crash) via a crafted PNG image.

CVSS Base Scores

version 3.1