Advisory Database
  • Advisories
  • Dependency Scanning
  1. nuget
  2. ›
  3. libpng
  4. ›
  5. CVE-2018-13785

CVE-2018-13785: Divide By Zero

July 9, 2018 (updated September 8, 2020)

In libpng, 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.

References

  • nvd.nist.gov/vuln/detail/CVE-2018-13785

Code Behaviors & Features

Detect and mitigate CVE-2018-13785 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

Version 1.6.34

Solution

Unfortunately, there is no solution available yet.

Impact 6.5 MEDIUM

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-369: Divide By Zero

Source file

nuget/libpng/CVE-2018-13785.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:13 +0000.