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
02 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
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 4.37% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 91.2% of scored records. A rank, not a probability.
- NVD base score
- 6.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Low. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2018-07-09 13:00Z8 YR AGO
- Last updated
- 2026-05-29 20:13Z5 MO AGO
- Reserved
- 2018-07-09
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Medium (CVSS 6.5)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Weaknesses
- Data version
- 5.2
- Document digest
- 72f3987df37625f6e3bb0fda1fb3634679bcd4410950f0f2a9e6f1c72659c9eb
05 Affected products
06 References
- access.redhat.comRHSA-2018:3007https://access.redhat.com/errata/RHSA-2018:3007
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20181018-0001/
- access.redhat.comRHSA-2018:3779https://access.redhat.com/errata/RHSA-2018:3779
- access.redhat.comRHSA-2018:3534https://access.redhat.com/errata/RHSA-2018:3534
- access.redhat.comRHSA-2018:3003https://access.redhat.com/errata/RHSA-2018:3003
- usn.ubuntu.comUSN-3712-1https://usn.ubuntu.com/3712-1/
- access.redhat.comRHSA-2018:3002https://access.redhat.com/errata/RHSA-2018:3002
- sourceforge.nethttps://sourceforge.net/p/libpng/bugs/278/
- access.redhat.comRHSA-2018:3671https://access.redhat.com/errata/RHSA-2018:3671
- access.redhat.comRHSA-2018:3852https://access.redhat.com/errata/RHSA-2018:3852
- access.redhat.comRHSA-2018:3008https://access.redhat.com/errata/RHSA-2018:3008
- www.oracle.comhttp://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- access.redhat.comRHSA-2018:3533https://access.redhat.com/errata/RHSA-2018:3533
- access.redhat.comRHSA-2018:3001https://access.redhat.com/errata/RHSA-2018:3001
- access.redhat.comRHSA-2018:3000https://access.redhat.com/errata/RHSA-2018:3000
- www.securityfocus.com105599http://www.securityfocus.com/bid/105599
- www.securitytracker.com1041889http://www.securitytracker.com/id/1041889
- access.redhat.comRHSA-2018:3672https://access.redhat.com/errata/RHSA-2018:3672
- github.comhttps://github.com/glennrp/libpng/commit/8a05766cb74af05c04c53e6c9d60c13fc4d59bf2
- security.gentoo.orgGLSA-201908-10https://security.gentoo.org/glsa/201908-10
07 Fixed in
Debian 12
- libpng1.6 Fixed in 1.6.34-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- libpng1.6 Fixed in 1.6.34-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- libpng1.6 Fixed in 1.6.34-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- libpng1.6 Fixed in 1.6.34-1ubuntu0.18.04.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.