CVE-2018-13785: Canonical Ubuntu Linux

Medium severity, CVSS 6.5. EPSS: 4.4% chance of exploitation in the next 30 days.

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.

Affected products

  • Canonical Ubuntu Linux: version 14.04 only; version 16.04 only; version 17.10 only; version 18.04 only
  • Libpng Libpng: version 1.6.34 only
  • Oracle JDK: version 1.6.0 only; version 1.7.0 only; version 1.8.0 only; version 11.0.0 only
  • Oracle JRE: version 1.6.0 only; version 1.7.0 only; version 1.8.0 only; version 11.0.0 only
  • Red Hat Enterprise Linux Desktop: version 6.0 only; version 7.0 only
  • Red Hat Enterprise Linux Server: version 6.0 only; version 7.0 only
  • Red Hat Enterprise Linux Workstation: version 6.0 only; version 7.0 only

Published 2018-07-09. Last modified 2026-06-17.