First published: Mon Jul 09 2018(Updated: )
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.
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Libpng Libpng | =1.6.34 | |
Canonical Ubuntu Linux | =14.04 | |
Canonical Ubuntu Linux | =16.04 | |
Canonical Ubuntu Linux | =17.10 | |
Canonical Ubuntu Linux | =18.04 | |
Oracle JDK | =1.6.0-update201 | |
Oracle JDK | =1.7.0-update191 | |
Oracle JDK | =1.8.0-update181 | |
Oracle JDK | =11.0.0 | |
Oracle JRE | =1.6.0-update201 | |
Oracle JRE | =1.7.0-update191 | |
Oracle JRE | =1.8.0-update181 | |
Oracle JRE | =11.0.0 | |
Redhat Enterprise Linux Desktop | =6.0 | |
Redhat Enterprise Linux Desktop | =7.0 | |
Redhat Enterprise Linux Server | =6.0 | |
Redhat Enterprise Linux Server | =7.0 | |
Redhat Enterprise Linux Workstation | =6.0 | |
Redhat Enterprise Linux Workstation | =7.0 | |
debian/libpng1.6 | 1.6.37-3 1.6.39-2 1.6.43-5 1.6.44-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2018-13785 is a vulnerability in libpng 1.6.34 that may trigger an integer overflow and resultant divide-by-zero while processing a crafted PNG file, leading to a denial of service.
The severity of CVE-2018-13785 is medium with a CVSS score of 6.5.
CVE-2018-13785 affects libpng version 1.6.34.
To fix CVE-2018-13785, update libpng to version 1.6.36-6, 1.6.37-3, 1.6.39-2, or 1.6.40-2.
You can find more information about CVE-2018-13785 at the following references: [Reference 1](https://sourceforge.net/p/libpng/bugs/278/), [Reference 2](https://github.com/glennrp/libpng/commit/8a05766cb74af05c04c53e6c9d60c13fc4d59bf2), [Reference 3](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=1599944).