Improper Input Validation Affecting libpng package, versions [1.0.6, 1.2.13)


Severity

Recommended
0.0
low
0
10

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

Threat Intelligence

EPSS
4.08% (93rd 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 Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-LIBPNG-2335001
  • published12 Jan 2022
  • disclosed17 Nov 2006
  • creditUnknown

Introduced: 17 Nov 2006

CVE-2006-5793  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade libpng to version 1.2.13 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation. The sPLT chunk handling code (png_set_sPLT function in pngset.c) in libpng 1.0.6 through 1.2.12 uses a sizeof operator on the wrong data type, which allows context-dependent attackers to cause a denial of service (crash) via malformed sPLT chunks that trigger an out-of-bounds read.

References

CVSS Scores

version 3.1