CVE-2018-16395: canonical ubuntu_linux
Vulnerability summary
CVE-2018-16395 is a critical (CVSS 9.8) vulnerability in canonical ubuntu_linux. EPSS estimates a 10.71% chance of exploitation in the next 30 days, higher than 95.8% of scored vulnerabilities.
Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 11% (FIRST, 03-11-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 11 · Related 5Timeline
- 16-11-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
Description
An issue was discovered in the OpenSSL library in Ruby before 2.3.8, 2.4.x before 2.4.5, 2.5.x before 2.5.2, and 2.6.x before 2.6.0-preview3. When two OpenSSL::X509::Name objects are compared using ==, depending on the ordering, non-equal objects may return true. When the first argument is one character longer than the second, or the second argument contains a character that is one less than a character in the same position of the first argument, the result of == will be true. This could be leveraged to create an illegitimate certificate that may be accepted as legitimate and then used in signing or encryption operations.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · Red hatEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NDiffers
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · RubygemsEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
10.71%
Chance of exploitation in the next 30 days
Percentile
96%
Versus all other CVEs
30-day change
No change 0.00 pp
From 10.71% on 04-10-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 causeNo weakness data has been published for this record.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat17 products
- enterprise_linuxEOL7.4
- ruby< 0:2.0.0.648-34.el7_6 | < 0:2.0.0.648-34.el7_4 | < 0:2.0.0.648-34.el7_5
- ruby-debuginfo< 0:2.0.0.648-34.el7_6 | < 0:2.0.0.648-34.el7_4 | < 0:2.0.0.648-34.el7_5
- ruby-devel< 0:2.0.0.648-34.el7_6 | < 0:2.0.0.648-34.el7_4 | < 0:2.0.0.648-34.el7_5
- ruby-doc< 0:2.0.0.648-34.el7_6 | < 0:2.0.0.648-34.el7_4 | < 0:2.0.0.648-34.el7_5
Ubuntu4 products
- ruby1.9.1< 1.9.3.484-2ubuntu1.13
- ruby2.0< 2.0.0.484-1ubuntu2.11
- ruby2.3< 2.3.1-2~16.04.11
- ruby2.5< 2.5.1-1ubuntu1.1
Ruby-lang2 products
Alpine1 product
- ruby≥ 2.3.0, < 2.5.2-r0 | ≥ 2.3.0, < 2.3.8-r0 | ≥ 2.3.0, < 2.4.5-r0
Canonical1 product
- ubuntu_linuxEOL14.04 | 16.04 | 18.04 | 18.10
Debian1 product
- debian_linuxEOL8.0 | 9.0
RubyGems1 product
- openssl< 2.0.9 | ≥ 2.1.0, < 2.1.2
7 vendors · 27 products
References
40 links- access.redhat.com/errata/RHSA-2018:3738Vendor AdvisoryX Refsource REDHATThird Party AdvisoryAdvisoryWEB
- www.ruby-lang.org/en/news/2018/11/06/ruby-2-6-0-preview3-released/X Refsource CONFIRMRelease NotesVendor Advisory
- www.ruby-lang.org/en/news/2018/10/17/ruby-2-3-8-released/X Refsource CONFIRMRelease NotesVendor Advisory
Show all 40 references
- www.ruby-lang.org/en/news/2018/10/17/ruby-2-4-5-released/X Refsource CONFIRMRelease NotesVendor Advisory
- www.ruby-lang.org/en/news/2018/10/17/ruby-2-5-2-released/X Refsource CONFIRMRelease NotesVendor Advisory
- lists.debian.org/debian-lts-announce/2018/10/msg00020.htmlMailing ListX Refsource MLISTThird Party AdvisoryWEB
- lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.htmlVendor AdvisoryX Refsource SUSEMailing ListThird Party AdvisoryWEB
- access.redhat.com/errata/RHSA-2019:1948Vendor AdvisoryX Refsource REDHATThird Party AdvisoryAdvisoryWEB