Vulnerabilities · 2018 · Libpng
CVE-2018-13785
Libpng vulnerability
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
Libpng, Ubuntu Linux, Jdk, Jre, Enterprise Linux Desktop, Enterprise Linux Server, Enterprise Linux Workstation. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Libpng runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html · Patch
- github.com/glennrp/libpng/commit/8a05766cb74af05c04c53e6c9d60c13fc4d59bf2 · Patch
- www.securityfocus.com/bid/105599 · Third Party Advisory
- www.securitytracker.com/id/1041889 · Third Party Advisory
- access.redhat.com/errata/RHSA-2018:3000 · Third Party Advisory
- access.redhat.com/errata/RHSA-2018:3001 · Third Party Advisory
- access.redhat.com/errata/RHSA-2018:3002 · Third Party Advisory
- access.redhat.com/errata/RHSA-2018:3003 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2018-13785
- cve.org/CVERecord?id=CVE-2018-13785
More vulnerabilities in Libpng products
CVE-2026-22801CVE-2026-22695CVE-2025-66293CVE-2025-65018CVE-2025-64720CVE-2025-64506CVE-2025-64505CVE-2025-28164All 54
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.