end-of-life.org

Ruby 2.7 End of Life

Support dates, vulnerabilities published since end of life, and upgrade guidance — rebuilt from live data.

End of Life

Ruby 2.7 reached end of life on 31 Mar 2023. It no longer receives security fixes.

1,227 days without security patches
4 Ruby CVEs published since EOL
Recommended action: upgrade to Ruby 4.0.
Check your versionruby --version

Support timeline

Official dates from the Ruby release process.

MilestoneDateStatus
Initial release25 Dec 2019
End of life 31 Mar 2023 3.4 years ago
Latest release2.7.8 · 30 Mar 2023 final

The cost of staying: CVEs since end of life

4 Ruby vulnerabilities have been published since 31 Mar 2023. All were fixed in supported branches — 2.7 received none of them. Source: NVD.

Ruby CVEs published since 2.7's EOL, by year

0 of the 4 are rated critical · data refreshed 2026-08-09

0 2.5 5 2 2024 1 2025 1 2026
CVE-2026-46727 CVSS 8.1

Published 22 May 2026 · rated high — fixed in supported branches only, never in 2.7. Details

CVE-2024-26142 CVSS 7.5

Published 27 Feb 2024 · rated high — fixed in supported branches only, never in 2.7. Details

CVE-2024-49761 CVSS 7.5

Published 28 Oct 2024 · rated high — fixed in supported branches only, never in 2.7. Details

Where to go from 2.7

Recommended target: Ruby 4.0 (supported until 31 Mar 2029).

The newest actively supported branch is Ruby 4.0 (latest release 4.0.6). Review ruby-lang.org before upgrading.

Frequently asked questions

Is Ruby 2.7 still safe to use?

No. Ruby 2.7 stopped receiving security fixes on 31 Mar 2023. Since then, 4 Ruby vulnerabilities have been published and fixed in supported branches — Ruby 2.7 received none of those fixes.

Can I still download Ruby 2.7?

Yes — the final release (2.7.8) generally remains available from vendor archives and OS package mirrors, but installing it means running software with known, unpatched vulnerabilities.

What should I upgrade Ruby 2.7 to?

Upgrade to Ruby 4.0, the newest actively supported branch (supported until 31 Mar 2029).

All Ruby versions