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.
CVE-2018-16395
“—” beside the score: it is equal to NVD's CVSS score.
Score 9.8 from GitHub Security Advisory (severity: CRITICAL) published 2022-05-13. NVD baseline CVSS 9.8; sources differ by 0.0.
Also known asEUVD-2022-4596 (ENISA EUVD) · GHSA-mmrq-6999-72v8 (GitHub Security Advisories)Source: ENISA EUVD
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 9.8
- EG Score
- 9.8CRITICALmedium confidence
- EG Risk
- 60EG Risk 60/100
EG Risk is EchelonGraph's 0–100 priority score. It fuses impact severity (EG Severity, the CVSS base score, never the KEV-floored or EPSS-lifted EG Score) with real-world exploitation and automatability, under weights EchelonGraph set by hand, so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner.
How it’s computed (value × EchelonGraph’s weight)Severity98% × 45%Impact severity (EG Severity): CVSS 9.8 of 10. Never the KEV-floored or EPSS-lifted EG Score.Exploitation40% × 40%EchelonGraph's fixed weight for EG-KEV Tier 3 (Elevated): a constant, not a probability.Automatability0% × 15%CISA's BOD 26-04 default: no one has published Automatable for this CVE, and CISA treats it as “no” for a CVE not in KEV.SSVC (CISA's decision table, applied by EchelonGraph): Track at low or medium mission impact; Track* at high (mission-essential systems).Exploitation none (no CISA value, KEV listing or exploit code on record) · Automatable no (CISA's BOD 26-04 default) · Technical impact total (CISA's BOD 26-04 default). EchelonGraph holds no SSVC assessment of this CVE from CISA: none of these inputs is from Vulnrichment. EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.Action: A fix is available. Apply it within your standard update timelines. - EPSS PROB
- 11%
- EPSS %ILE
- 95th
- KEV
- Not listed
What the EG score is made of (scorer v4.0: the three questions the 0–10 score mixes, published apart · methodology)
The EG score (9.8): severity, escalated by confirmed exploitation. This CVE's 9.8 is its impact severity (EG Severity), not escalated.
- EG Severity
- 9.8 CRITICALCVSS-B, impact only: no KEV listing, EPSS or EG-KEV tier raises it.GitHub Security Advisory CVSS
- EG Likelihood
- 11% within 30 daysSource: FIRST EPSS (model v2026.06.15, score date 2026-11-01). FIRST's exploitation probability, not an EchelonGraph model.
- Confirmed exploitation
- None on record (CISA KEV, EG-KEV Tier 1)Reported apart from the likelihood: an observed fact, not a probability.
- EG Priority
- SSVC Track at medium mission impactTrack at low or medium mission impact; Track* at high (mission-essential systems).CISA BOD 26-04: 14 days if the affected system is publicly exposed; Fix on system upgrade if it is not.Each input and its source, and whom BOD 26-04 binds: the SSVC and BOD 26-04 blocks below.
SSVC (CISA's decision table, applied by EchelonGraph)Track at low or medium mission impact; Track* at high (mission-essential systems).
A fix is available. Apply it within your standard update timelines.
Exploitation none (no CISA value, KEV listing or exploit code on record) · Automatable no (CISA's BOD 26-04 default) · Technical impact total (CISA's BOD 26-04 default). EchelonGraph holds no SSVC assessment of this CVE from CISA: none of these inputs is from Vulnrichment. EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table
BOD 26-04 (CISA's remediation timeline, Table 1)14 days if the affected system is publicly exposed; Fix on system upgrade if it is not.
The score's inputs: In CISA KEV no (CISA's KEV catalog) · Automatable no (CISA's BOD 26-04 default) · Technical impact total (CISA's BOD 26-04 default). Where an input reads “CISA's BOD 26-04 default”, no one has published it for this CVE, and CISA's implementation guidance says: “If “Automatable” and “Technical Impact” information items about a CVE ID are not available and the CVE ID is not in the KEV Catalog, CISA will treat its values as “no” and “total,” respectively, until CISA or a third party provides metadata about the CVE ID. CISA will always provide the Vulnrichment data for a CVE ID listed in the KEV Catalog.” Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it
Published
November 16, 2018
Last Modified
November 21, 2024
Advisory Details (9)
Auto-updated Oct 6, 2026[SECURITY] [DLA 1558-1] ruby2.1 security update
https://lists.debian.org/debian-lts-announce/2018/10/msg00020.htmlAffected: Red Hat Enterprise Linux 7.5 Extended Update Support.
https://access.redhat.com/errata/RHSA-2019:2565Affected: Red Hat Enterprise Linux 7.4 Extended Update Support.
https://access.redhat.com/errata/RHSA-2019:1948Affected: Red Hat Enterprise Linux 7.
https://access.redhat.com/errata/RHSA-2018:3738Vendor Advisories for CVE-2018-16395(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Patch Availability(9)
| Vendor / Ecosystem | Fix (by version range) / Patch | Released | Source |
|---|---|---|---|
| ubuntu | ruby2.3-tcltk (2.3.1-2~16.04.11) @ xenial | 2026-11-02 | ubuntu |
| redhat | ruby-0:2.0.0.648-34.el7_5 | 2019-08-27 | redhat |
| redhat | ruby-0:2.0.0.648-34.el7_4 | 2019-07-30 | redhat |
| redhat | rh-ruby24-ruby-0:2.4.5-91.el7 | 2018-11-29 | redhat |
| redhat | rh-ruby25-ruby-0:2.5.3-6.el7 | 2018-11-29 | redhat |
| redhat | rh-ruby23-ruby-0:2.3.8-69.el7 | 2018-11-29 | redhat |
| redhat | ruby-0:2.0.0.648-34.el7_6 | 2018-11-29 | redhat |
| rubygems | openssl @ 2.0.9 (fixes < 2.0.9) | — | ghsa |
| rubygems | openssl @ 2.1.2 (fixes >= 2.1.0, < 2.1.2) | — | ghsa |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(23 across 23 ecosystems)
Alpine:v3.11(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| ruby | — |
| — |
Alpine:v3.12(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| ruby | — |
| — |
Alpine:v3.13(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| ruby | — |
| — |
Alpine:v3.14(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| ruby | — |
| — |
Alpine:v3.15(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| ruby | — |
| — |
Alpine:v3.16(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| ruby | — |
| — |
Alpine:v3.17(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| ruby | — |
| — |
Alpine:v3.18(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| ruby | — |
| — |
Alpine:v3.19(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| ruby | — |
| — |
Alpine:v3.20(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| ruby | — |
| — |
Alpine:v3.21(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| ruby | — |
| — |
Alpine:v3.22(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| ruby | — |
| — |
Alpine:v3.23(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| ruby | — |
| — |
Alpine:v3.24(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| ruby | — |
| — |
Alpine:v3.4(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| ruby | — |
| — |
Alpine:v3.5(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| ruby | — |
| — |
Alpine:v3.6(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| ruby | — |
| — |
Alpine:v3.7(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| ruby | — |
| — |
Alpine:v3.8(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| ruby | — |
| — |
Alpine:v3.9(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| ruby | — |
| — |
Debian:8(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| ruby2.1 | 2.1.5-2 ... 2.1.5-2+deb8u5 (6 versions) |
| — |
Debian:9(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| ruby2.3 | 2.3.3-1, 2.3.3-1+deb9u1, 2.3.3-1+deb9u2, 2.3.3-1+deb9u3 |
| — |
RubyGems(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| openssl | 2.1.0, 2.1.1 |
| — |
Additional Vendor Advisories
(7)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Red HatRHSA-2018:3729IMPORTANT2018-10-17
RHSA-2018:3729 — Important
- Red HatRHSA-2018:3730IMPORTANT2018-10-17
RHSA-2018:3730 — Important
- Red HatRHSA-2018:3731IMPORTANT2018-10-17
RHSA-2018:3731 — Important
- Red HatRHSA-2018:3738IMPORTANT2018-10-17
RHSA-2018:3738 — Important
- Red HatRHSA-2019:1948IMPORTANT2018-10-17
RHSA-2019:1948 — Important
- Red HatRHSA-2019:2565IMPORTANT2018-10-17
RHSA-2019:2565 — Important
- UbuntuUSN-3808-1MEDIUM
Ruby vulnerabilities
Data Freshness Timeline
(refreshed 23× in last 7d / 73× in last 30d)
Each row is a time one of our pipelines fetched, updated or re-scored this CVE. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). Most recent first.
Showing the most recent 99 of 222 refreshes on record for this CVE.
A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. 1 repeat row among the latest 100 is merged into the row it repeats. The 123 oldest rows on record are not shown and were not checked, so the counts can still include repeats.
- 2026-11-02 05:56 UTCEG score recompute
- 2026-11-02 05:56 UTCVendor advisory
- 2026-11-02 05:56 UTCGHSA enrichmentGHSA-mmrq-6999-72v8 · GitHub severity CRITICAL · GitHub CVSS 9.8
- 2026-11-01 08:43 UTCGHSA enrichmentGHSA-mmrq-6999-72v8 · GitHub severity CRITICAL · GitHub CVSS 9.8
- 2026-11-01 08:43 UTCEG score recompute
- 2026-11-01 06:31 UTCEG score recompute
- 2026-11-01 06:31 UTCVendor advisory
- 2026-10-31 16:27 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-10-31 07:06 UTCEG score recompute
- 2026-10-31 07:06 UTCVendor advisory
- 2026-10-30 16:28 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-10-30 07:39 UTCEG score recompute
- 2026-10-30 07:39 UTCVendor advisory
- 2026-10-29 16:28 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-10-29 08:14 UTCEG score recompute
- 2026-10-29 08:14 UTCVendor advisory
- 2026-10-28 16:27 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-10-28 08:50 UTCEG score recompute
- 2026-10-28 08:50 UTCVendor advisory
- 2026-10-27 16:27 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-10-27 08:54 UTCEG score recompute
- 2026-10-27 08:54 UTCVendor advisory
- 2026-10-26 16:26 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-10-26 08:01 UTCVendor advisory
- 2026-10-25 19:23 UTCEG score recompute
Show 74 moreShow fewer
- 2026-10-25 16:27 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-10-25 08:34 UTCEG score recompute
- 2026-10-25 08:34 UTCVendor advisory
- 2026-10-24 16:27 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-10-24 09:09 UTCEG score recompute
- 2026-10-24 09:09 UTCVendor advisory
- 2026-10-23 16:27 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-10-23 09:44 UTCEG score recompute
- 2026-10-23 09:44 UTCVendor advisory
- 2026-10-22 16:27 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-10-22 10:18 UTCEG score recompute
- 2026-10-22 10:18 UTCVendor advisory
- 2026-10-21 16:27 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-10-21 10:51 UTCEG score recompute
- 2026-10-21 10:51 UTCVendor advisory
- 2026-10-20 16:27 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-10-20 11:25 UTCEG score recompute
- 2026-10-20 11:25 UTCVendor advisory
- 2026-10-19 16:27 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-10-19 11:59 UTCEG score recompute
- 2026-10-19 11:59 UTCVendor advisory
- 2026-10-18 10:08 UTCEG score recompute
- 2026-10-18 10:08 UTCVendor advisory
- 2026-10-17 16:27 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-10-17 10:39 UTCEG score recompute
- 2026-10-17 10:39 UTCVendor advisory
- 2026-10-16 16:30 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-10-16 11:11 UTCEG score recompute
- 2026-10-16 11:11 UTCVendor advisory
- 2026-10-15 16:27 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-10-15 11:24 UTCEG score recompute
- 2026-10-15 11:24 UTCVendor advisory
- 2026-10-14 16:27 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-10-14 07:06 UTCEG score recompute
- 2026-10-14 07:06 UTCVendor advisory
- 2026-10-13 16:27 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-10-13 02:22 UTCVendor advisory
- 2026-10-12 20:16 UTCEG score recompute
- 2026-10-12 16:28 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-10-12 00:40 UTCEG score recompute
- 2026-10-11 13:41 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-10-10 19:55 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-10-09 20:02 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-10-08 16:36 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-10-07 23:41 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-10-06 15:12 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-10-05 17:39 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-10-03 14:21 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-09-30 14:59 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-09-30 09:55 UTCEG score recompute
- 2026-09-28 16:43 UTCOSV refresh
- 2026-09-27 13:40 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-09-26 15:53 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-09-26 00:19 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-09-24 13:59 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-09-23 13:42 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-09-21 20:27 UTCEPSS rescoreEPSS 9.9% · 95th percentile
- 2026-09-19 15:36 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-09-18 19:22 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-09-17 19:22 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-09-16 14:03 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-09-16 05:06 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-09-15 03:05 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-09-13 16:42 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-09-12 14:56 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-09-11 14:47 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-09-10 09:27 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-09-08 21:34 UTCOSV refresh
- 2026-09-07 15:57 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-09-06 13:43 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-09-05 15:24 UTCEPSS rescoreEPSS 9.9% · 95th percentile
- 2026-09-04 13:56 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-09-04 05:02 UTCEPSS rescoreEPSS 11% · 95th percentile
- 2026-09-02 14:07 UTCEPSS rescoreEPSS 11% · 95th percentile
Related CVEs(same product + same vendor)
Same product
10 shownRubyGems:openssl · Alpine:v3.4:ruby
- CVE-2017-14033EG 7.5EPSS p95HIGH
- CVE-2017-0899EG 9.8EPSS p96CRITICAL
- CVE-2017-14064EG 9.8EPSS p95CRITICAL
- CVE-2018-8780EG 9.1EPSS p96CRITICAL
- CVE-2017-0898EG 9.1EPSS p96CRITICAL
- CVE-2017-17405NVD 8.8EG 9.0EPSS p99CRITICAL
- CVE-2017-10784EG 8.8EPSS p97HIGH
- CVE-2018-16396EG 8.1EPSS p95HIGH
- CVE-2017-0902EG 8.1EPSS p92HIGH
- CVE-2018-8779EG 7.5EPSS p94HIGH
Same vendor
10 shownredhat:RHSA-2018:3729
- CVE-2018-16396EG 8.1EPSS p95HIGH
- CVE-2018-1000076EG 9.8CRITICAL
- CVE-2018-8780EG 9.1EPSS p96CRITICAL
- CVE-2018-1000074EG 7.8HIGH
- CVE-2018-8779EG 7.5EPSS p94HIGH
- CVE-2018-8778EG 7.5EPSS p95HIGH
- CVE-2018-8777EG 7.5EPSS p91HIGH
- CVE-2018-6914EG 7.5EPSS p96HIGH
- CVE-2018-1000075EG 7.5EPSS p92HIGH
- CVE-2018-1000073EG 7.5EPSS p92HIGH
Frequently asked(5)
What is CVE-2018-16395?
When was CVE-2018-16395 made public?
Is CVE-2018-16395 actively exploited?
What is the CVSS score of CVE-2018-16395?
How do I remediate CVE-2018-16395?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2018-16395
Is Your Infrastructure Affected by CVE-2018-16395?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.