CVE-2018-13785: canonical ubuntu_linux Integer Overflow or Wraparound
Vulnerability summary
CVE-2018-13785 is a medium (CVSS 6.5) Integer Overflow or Wraparound vulnerability in canonical ubuntu_linux. EPSS estimates a 4.29% chance of exploitation in the next 30 days, higher than 91.3% of scored vulnerabilities.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 31 · Related 19Timeline
- 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
7 scores · 5 sources · 3 versions- 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
- OSV · AlpineEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS trend
Probability
4.29%
Chance of exploitation in the next 30 days
Percentile
91%
Versus all other CVEs
30-day change
Decrease -0.09 pp
From 4.38% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
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
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat3 products
- enterprise_linux_desktop6.0 | 7.0
- enterprise_linux_server6.0 | 7.0
- enterprise_linux_workstation6.0 | 7.0
Alpine2 products
- openjdk7< 7.201.2.6.16-r0
- openjdk8< 8.191.12-r0
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
8 vendors · 13 products
References
28 linksShow all 28 references
- www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.htmlX Refsource CONFIRMPatchVendor Advisory
- github.com/glennrp/libpng/commit/8a05766cb74af05c04c53e6c9d60c13fc4d59bf2X Refsource MISCPatchThird Party Advisory