Back to CVE records
Medium 6.5Published Jul 9, 2018

CVE-2018-13785In 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 fil…

Updated under an hour ago ()

Does this affect you?

It affects libpng and 6 other products. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

Free: a daily email for up to 3 products and the weekly digest. No card, no password. By continuing you agree to the Terms and Privacy Policy.

CVSS
6.5 MEDIUM (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness (CWE)
CWE-190, CWE-369
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Not given
NVD analysis
Modified
Record last updated
Jun 16, 2026
First seen by InfoSec Signals
Nov 1, 2026

Affected products

Affected products
libpng libpng
libpng:libpng
1.6.34
NVD
canonical ubuntu_linux
canonical:ubuntu_linux
14.04; 16.04; 17.10; 18.04
NVD
oracle jdk
oracle:jdk
1.6.0; 1.7.0; 1.8.0; 11.0.0
NVD
oracle jre
oracle:jre
1.6.0; 1.7.0; 1.8.0; 11.0.0
NVD
redhat enterprise_linux_desktop
redhat:enterprise_linux_desktop
6.0; 7.0
NVD
redhat enterprise_linux_server
redhat:enterprise_linux_server
6.0; 7.0
NVD
redhat enterprise_linux_workstation
redhat:enterprise_linux_workstation
6.0; 7.0
NVD

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Essential cookies only, unless you allow a Google ads cookie. See our .