Divide By Zero Affecting libpng1.6 package, versions <1.6.34-1ubuntu0.17.10.1


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
4.38% (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-UBUNTU1710-LIBPNG16-296477
  • published11 Jul 2018
  • disclosed9 Jul 2018

Introduced: 9 Jul 2018

CVE-2018-13785  (opens in a new tab)
CWE-369  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Ubuntu:17.10 libpng1.6 to version 1.6.34-1ubuntu0.17.10.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libpng1.6 package and not the libpng1.6 package as distributed by Ubuntu. See How to fix? for Ubuntu:17.10 relevant fixed versions and status.

In libpng 1.6.34, a wrong calculation of row_factor in the png_check_chunk_length function (pngrutil.c) may trigger an integer overflow and resultant divide-by-zero while processing a crafted PNG file, leading to a denial of service.

CVSS Base Scores

version 3.1