CVE-2018-13785

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.

Category

6.5
CVSS
Severity: Medium
CVSS 3.1 •
CVSS 2.0 •
EPSS 2.20% Top 20%
Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory ubuntu.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory gentoo.org Vendor Advisory oracle.com
Affected: n/a n/a
Published at:
Updated at:

References

Link Tags
https://access.redhat.com/errata/RHSA-2018:3007 third party advisory vendor advisory
https://security.netapp.com/advisory/ntap-20181018-0001/ third party advisory
https://access.redhat.com/errata/RHSA-2018:3779 third party advisory vendor advisory
https://access.redhat.com/errata/RHSA-2018:3534 third party advisory vendor advisory
https://access.redhat.com/errata/RHSA-2018:3003 third party advisory vendor advisory
https://usn.ubuntu.com/3712-1/ third party advisory vendor advisory
https://access.redhat.com/errata/RHSA-2018:3002 third party advisory vendor advisory
https://sourceforge.net/p/libpng/bugs/278/ third party advisory
https://access.redhat.com/errata/RHSA-2018:3671 third party advisory vendor advisory
https://access.redhat.com/errata/RHSA-2018:3852 third party advisory vendor advisory
https://access.redhat.com/errata/RHSA-2018:3008 third party advisory vendor advisory
http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html patch vendor advisory
https://access.redhat.com/errata/RHSA-2018:3533 third party advisory vendor advisory
https://access.redhat.com/errata/RHSA-2018:3001 third party advisory vendor advisory
https://access.redhat.com/errata/RHSA-2018:3000 third party advisory vendor advisory
http://www.securityfocus.com/bid/105599 vdb entry third party advisory broken link
http://www.securitytracker.com/id/1041889 vdb entry third party advisory broken link
https://access.redhat.com/errata/RHSA-2018:3672 third party advisory vendor advisory
https://github.com/glennrp/libpng/commit/8a05766cb74af05c04c53e6c9d60c13fc4d59bf2 third party advisory patch
https://security.gentoo.org/glsa/201908-10 third party advisory vendor advisory

Frequently Asked Questions

What is the severity of CVE-2018-13785?
CVE-2018-13785 has been scored as a medium severity vulnerability.
How to fix CVE-2018-13785?
To fix CVE-2018-13785, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2018-13785 being actively exploited in the wild?
It is possible that CVE-2018-13785 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~2% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.