The rb_get_path_check function in file.c in Ruby 1.9.3 before patchlevel 286 and Ruby 2.0.0 before r37163 allows context-dependent attackers to create files in unexpected locations or with unexpected names via a NUL byte in a file path.
Conclusion & alert: CVE-2012-4522 is rated Moderate Risk (50/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 2.20%). Core evidence: EPSS rose +1.98% over the last day, indicating growing attacker interest. Mandatory action: Review affected assets and schedule 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 | 0.22% | 2.20% | +1.98% |
| 2 | 2026-06-04 | 0.27% | 0.22% | -0.05% |
| 3 | 2026-06-02 | — | 0.27% | — |
Full EPSS history (18 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.0 | 2.0 | MEDIUM |
|
10.0 | 2.9 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2012-4522 |
ubuntu
|
medium | CVE-2012-4522 medium priority: Ubuntu including 3 source packages (ruby1.8, ruby1.9, ruby1.9.1), 21 status rows across 7 suites (hardy, lucid, natty, oneiric, precise, quantal, upstream): not-affected 9, DNE 5, released 4, ignored 2, needs-triage 1. | https://ubuntu.com/security/CVE-2012-4522 |