CVE-2018-13785 Integer overflow in n/a
A crafted PNG file can trigger an integer overflow and divide-by-zero in libpng, causing a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2018-13785?
CVE-2018-13785 is a medium-severity vulnerability in Canonical Ubuntu Linux, published on 9 Jul 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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.
Which versions are affected by CVE-2018-13785?
It affects 7 products.
Products include Canonical Ubuntu Linux, Libpng Libpng, Oracle Jdk, Oracle Jre, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server and 1 more.
How do I fix CVE-2018-13785?
Apply the vendor's patch.
Is CVE-2018-13785 being exploited?
There is no known exploitation of CVE-2018-13785 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as CLEANSTART-2026-UO85012, DEBIAN-CVE-2018-13785, GHSA-fj59-ccrm-8h5w, MGASA-2018-0468, UBUNTU-CVE-2018-13785.