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.043, 91.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Libpng — versions 1.6.34
- Oracle Jdk — versions 1.6.0, 1.7.0, 1.8.0
- Oracle Jre — versions 1.6.0, 1.7.0, 1.8.0
- Canonical Ubuntu Linux — versions 14.04, 16.04, 17.10
- Red Hat Enterprise Linux Desktop — versions 6.0, 7.0
- Red Hat Enterprise Linux Server — versions 6.0, 7.0
- Red Hat Enterprise Linux Workstation — versions 6.0, 7.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (aflsmart/aflsmart). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- RHSA-2018:3007 (vendor-advisory, Third Party Advisory)
- security.netapp.com/advisory/ntap-20181018-0001/ (Third Party Advisory)
- RHSA-2018:3779 (vendor-advisory, Third Party Advisory)
- RHSA-2018:3534 (vendor-advisory, Third Party Advisory)
- RHSA-2018:3003 (vendor-advisory, Third Party Advisory)
- USN-3712-1 (vendor-advisory, Third Party Advisory)
- RHSA-2018:3002 (vendor-advisory, Third Party Advisory)
- sourceforge.net/p/libpng/bugs/278/ (Third Party Advisory)
- RHSA-2018:3671 (vendor-advisory, Third Party Advisory)
- RHSA-2018:3852 (vendor-advisory, Third Party Advisory)