CVE-2018-13785: canonical ubuntu_linux Integer Overflow or Wraparound
CVSS: 6.5v3.1MediumModified
AliasesMGASA-2018-0468UBUNTU-CVE-2018-13785DEBIAN-CVE-2018-13785
Published 09-07-2018Last modified 29-05-2026
Vulnerability summary
CVE-2018-13785 is a medium (CVSS 6.5) Integer Overflow or Wraparound vulnerability in canonical ubuntu_linux. EPSS estimates a 4.41% chance of exploitation in the next 30 days, higher than 91.2% of scored vulnerabilities.
CVSS score
6.5/10
010
Medium · v3.1 (CVE.org)EPSS score
4.41%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 31 · Related 19OPENSUSE-SU-2019:0043-1OPENSUSE-SU-2019:1530-1OPENSUSE-SU-2024:10876-1OPENSUSE-SU-2024:10972-1RHSA-2018:3000RHSA-2018:3001RHSA-2018:3002RHSA-2018:3003RHSA-2018:3007RHSA-2018:3008RHSA-2018:3533RHSA-2018:3534RHSA-2018:3671RHSA-2018:3672RHSA-2018:3779RHSA-2018:3852SUSE-SU-2018:3868-1SUSE-SU-2018:3920-1SUSE-SU-2018:3921-1SUSE-SU-2018:3933-1SUSE-SU-2018:3933-2SUSE-SU-2018:4064-1SUSE-SU-2018:4064-2SUSE-SU-2019:0049-1SUSE-SU-2019:0049-2SUSE-SU-2019:0057-1SUSE-SU-2019:0057-2SUSE-SU-2019:0058-1SUSE-SU-2019:1398-1SUSE-SU-2019:1398-2USN-3712-1
Timeline
- 09-07-2018PublishedVulnerability first disclosed.
- 29-05-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 4 sources · 3 versionsMedium 6.5Preferred score · CVE.org (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HSourcesAll 4 agree
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Medium 6.5Preferred score · OSV · Ubuntu (Ecosystem advisory) · calculated from vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HSourcesSingle source
Medium 4.3Preferred score · NVD (NIST)
AV:N/AC:M/Au:N/C:N/I:N/A:PSourcesSingle source
EPSS trend
Probability
4.41%
Chance of exploitation in the next 30 days
Percentile
91%
Versus all other CVEs
30-day change
0.00 pp
From 4.41% on 18-09-2026
18-09-202618-10-2026
EPSS score4.41%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-190Integer Overflow or WraparoundThe product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
- CWE-369Divide By ZeroThe product divides a value by zero.
Affected systems
Redhat3 products
- enterprise_linux_desktop6.0 | 7.0
- enterprise_linux_server6.0 | 7.0
- enterprise_linux_workstation6.0 | 7.0
Mageia2 products
- libpng< 1.6.35-1.mga6
- libpng12< 1.2.59-1.mga6
Oracle2 products
Canonical1 product
- ubuntu_linuxEOL14.04 | 16.04 | 17.10 | 18.04
Debian1 product
- libpng1.6< 1.6.34-2
Libpng1 product
- libpng1.6.34
Ubuntu1 product
- libpng1.6< 1.6.34-1ubuntu0.18.04.1
7 vendors · 11 products
References
27 linksShow all 27 references
- www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.htmlX Refsource CONFIRMPatchVendor Advisory
- github.com/glennrp/libpng/commit/8a05766cb74af05c04c53e6c9d60c13fc4d59bf2X Refsource MISCPatchThird Party Advisory