Integer overflow in Libpng

CVE-2018-13785

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.

Vulnerability class: Integer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS: 0.044 (91.0th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 91st percentile — 91.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2018-13785: held from 0.045 to 0.044.

EPSS over last 30 days · oldest: 0.045 · newest: 0.044 · change: -0.001

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2018-13785?
CVE-2018-13785 is a medium-severity vulnerability in Libpng, classified under Integer Overflow or Wraparound. CVSS score: 6.5/10. Published 2018-07-09.
How severe is CVE-2018-13785?
Medium severity. CVSS v3 base score is 6.5 out of 10.
Is CVE-2018-13785 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.