CVE-2018-5122: canonical ubuntu_linux Integer Overflow or Wraparound
Vulnerability summary
CVE-2018-5122 is a critical (CVSS 9.8) Integer Overflow or Wraparound vulnerability in canonical ubuntu_linux. EPSS estimates a 2.72% chance of exploitation in the next 30 days, higher than 86.4% of scored vulnerabilities.
Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 3% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?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 versions- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
2.72%
Chance of exploitation in the next 30 days
Percentile
86%
Versus all other CVEs
30-day change
Decrease -0.05 pp
From 2.77% 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-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
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