Divide By Zero Affecting libpng1.6 package, versions <1.6.34-2


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.59% (88th 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-DEBIAN10-LIBPNG16-296476
  • 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 Debian:10 libpng1.6 to version 1.6.34-2 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 Debian. See How to fix? for Debian: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 Scores

version 3.1