CVE-2018-5122: canonical ubuntu_linux Integer Overflow or Wraparound
CVSS: 9.8v3.0CriticalModified
AliasesUBUNTU-CVE-2018-5122
Published 11-06-2018Last modified 05-08-2024
Vulnerability summary
CVE-2018-5122 is a critical (CVSS 9.8) Integer Overflow or Wraparound vulnerability in canonical ubuntu_linux. EPSS estimates a 2.77% chance of exploitation in the next 30 days, higher than 86.1% of scored vulnerabilities.
CVSS score
9.8/10
010
Critical · v3.0 (NVD)EPSS score
2.77%
0%100%
Low · -0.06 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 3 · Related 3Timeline
- 11-06-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
Description
A potential integer overflow in the "DoCrypt" function of WebCrypto was identified. If a means was found of exploiting it, it could result in an out-of-bounds write. This vulnerability affects Firefox < 58.
CVSS metrics
3 scores · 2 sources · 2 versionsCritical 9.8Preferred score · NVD (NIST)
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HSourcesAll 2 agree
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
High 7.5Preferred score · NVD (NIST)
AV:N/AC:L/Au:N/C:P/I:P/A:PSourcesSingle source
EPSS trend
Probability
2.77%
Chance of exploitation in the next 30 days
Percentile
86%
Versus all other CVEs
30-day change
-0.06 pp
From 2.83% on 19-09-2026
19-09-202619-10-2026
EPSS score2.77%
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-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Canonical1 product
- ubuntu_linuxEOL14.04 | 16.04 | 17.10
Mozilla1 product
- firefox≥ unspecified, < 58 | ≤ 57.0.4
Ubuntu1 product
- firefox< 58.0+build6-0ubuntu0.14.04.1 | < 58.0+build6-0ubuntu0.16.04.1 | < 59.0.1+build1-0ubuntu1
3 vendors · 3 products