# CVE-2018-13785

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2018-07-09 · Modified: 2026-05-29
- Aliases: MGASA-2018-0468, UBUNTU-CVE-2018-13785, DEBIAN-CVE-2018-13785, ALPINE-CVE-2018-13785
- Record: https://cvemate.com/vulnerability/CVE-2018-13785 · JSON: https://cvemate.com/vulnerability/CVE-2018-13785/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS: 4.29%, percentile 91.392%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine openjdk7 (Alpine Linux): \< 7.201.2.6.16-r0
- alpine openjdk8 (Alpine Linux): \< 8.191.12-r0
- canonical ubuntu\_linux: 14.04 \| 16.04 \| 17.10 \| 18.04
- debian libpng1.6 (Debian): \< 1.6.34-2
- ubuntu libpng1.6 (Ubuntu): \< 1.6.34-1ubuntu0.18.04.1
- libpng libpng: 1.6.34
- mageia libpng (Mageia): \< 1.6.35-1.mga6
- mageia libpng12 (Mageia): \< 1.2.59-1.mga6
- oracle jdk: 1.6.0:update201 \| 1.7.0:update191 \| 1.8.0:update181 \| 11.0.0
- oracle jre: 1.6.0:update201 \| 1.7.0:update191 \| 1.8.0:update181 \| 11.0.0
- redhat enterprise\_linux\_desktop: 6.0 \| 7.0
- redhat enterprise\_linux\_server: 6.0 \| 7.0
- redhat enterprise\_linux\_workstation: 6.0 \| 7.0

## References (first 20 of 28)

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

---

Data as of 2026-12-05T03:16:00.226Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
