In Ruby before 2.2.10, 2.3.x before 2.3.7, 2.4.x before 2.4.4, 2.5.x before 2.5.1, and 2.6.0-preview1, the Dir.open, Dir.new, Dir.entries and Dir.empty? methods do not check NULL characters. When using the corresponding method, unintentional directory traversal may be performed.
Conclusion & alert: CVE-2018-8780 is rated High Risk (74.7/100): CVSS Critical severity, with high exploitation likelihood (EPSS 10.10%, 95th percentile). Core evidence: EPSS ranks this CVE among the most likely to be exploited in the near term. EPSS rose +8.36% over the last day, indicating growing attacker interest. Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 1.74% | 10.10% | +8.36% |
| 2 | 2026-05-31 | 1.79% | 1.74% | -0.05% |
| 3 | 2026-05-22 | — | 1.79% | — |
Full EPSS history (56 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.1 | 3.0 | CRITICAL |
|
3.9 | 5.2 | [email protected] |
| 7.5 | 2.0 | HIGH |
|
10.0 | 6.4 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
critical | CVE-2018-8780: 1 source package rows (ruby); 20 state rows across 10 repos (3.10-main, 3.11-main, 3.12-main, 3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 10, open 10. | https://security.alpinelinux.org/vuln/CVE-2018-8780 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2018-8780 |
suse
|
low | CVE-2018-8780 severity low: SUSE including 301 source package names (2.17-17.3:libruby2_5-2_5-2.5.5-4.3.1, 2.17-17.3:ruby2.5-2.5.5-4.3.1, …), 1008 product×package rows across 251 product lines (Container bci/ruby, Container suse/rmt-server, … (251 product lines)): Fixed 842, Known Affected 157, Known Not Affected 9. | https://www.suse.com/security/cve/CVE-2018-8780/ |
ubuntu
|
medium | CVE-2018-8780 medium priority: Ubuntu including 4 source packages (ruby1.9.1, ruby2.0, ruby2.3, ruby2.5), 20 status rows across 5 suites (artful, bionic, trusty, upstream, xenial): DNE 11, released 5, needs-triage 4. | https://ubuntu.com/security/CVE-2018-8780 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| ruby-lang | ruby | < 2.2.10 | cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* |
| ruby-lang | ruby | >= 2.3.0, < 2.3.7 | cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* |
| ruby-lang | ruby | >= 2.4.0, < 2.4.4 | cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* |
| ruby-lang | ruby | >= 2.5.0, < 2.5.1 | cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* |
| ruby-lang | ruby | 2.6.0 | cpe:2.3:a:ruby-lang:ruby:2.6.0:preview1:*:*:*:*:*:* |
| canonical | ubuntu_linux | 14.04 | cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* |
| canonical | ubuntu_linux | 16.04 | cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* |
| canonical | ubuntu_linux | 17.10 | cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:* |
| debian | debian_linux | 7.0 | cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* |
| debian | debian_linux | 8.0 | cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* |
| debian | debian_linux | 9.0 | cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |