Ruby 2.x — End of Life
EOLRuby 2.x — All releases
| Version | Released | Active support | EOL date | Latest patch | Status |
|---|---|---|---|---|---|
| 2.7 | Dec 25, 2019 | — | Mar 31, 2023 | 2.7.8 | EOL |
| 2.6 | Dec 25, 2018 | — | Mar 31, 2022 | 2.6.10 | EOL |
| 2.5 | Dec 25, 2017 | — | Mar 31, 2021 | 2.5.9 | EOL |
| 2.4 | Dec 23, 2016 | — | Mar 31, 2020 | 2.4.10 | EOL |
| 2.3 | Dec 24, 2015 | — | Mar 31, 2019 | 2.3.8 | EOL |
| 2.2 | Dec 25, 2014 | — | Mar 31, 2018 | 2.2.10 | EOL |
| 2.1 | Dec 25, 2013 | — | Mar 31, 2017 | 2.1.10 | EOL |
| 2.0.0 | Feb 24, 2013 | — | Feb 24, 2016 | 2.0.0p648 | EOL |
CVEs affecting Ruby 2.x (0)
Ruby 2.x is EOL — migrate to Ruby 3.x
Ruby 3.x is the next major release. Plan your upgrade before Ruby 2.x stops receiving security patches.
Frequently asked questions
Is Ruby 2 end of life?
Yes. All Ruby 2.x releases have reached end of life and no longer receive security patches. Migrate to Ruby 3.x as soon as possible.
What CVEs affect Ruby 2?
No CVEs are currently tracked for Ruby 2.x in our database. This may mean no vulnerabilities have been recorded yet, or the data is still syncing.
What is the latest Ruby 2 version?
The latest Ruby 2.x patch release is 2.7.8, released on March 30, 2023. Always run the latest patch to benefit from all security fixes.
How to migrate from Ruby 2 to Ruby 3?
To migrate from Ruby 2 to Ruby 3: (1) review the official Ruby 3 migration guide for breaking changes, (2) update dependencies and configuration accordingly, (3) test thoroughly in a staging environment, (4) deploy with a rollback plan. Starting early gives you time to resolve compatibility issues before your current version reaches end of life.
Is it safe to run Ruby 2 in production?
No. Ruby 2 has reached end of life and security vulnerabilities are no longer patched. Upgrade to a supported version immediately.
Data sourced from endoflife.date · CVE data from NVD · EPSS from FIRST.org · KEV from CISA
