Skip to content
statance
MenuClose
← All Ruby releases

Is Ruby 2.7 end of life?

End of life

Yes. Ruby 2.7 reached end of life on 31 March 2023 (3.6 years ago) and no longer receives security updates.

Released
25 December 2019
Security support ends
31 March 2023
Latest release
2.7.8 · 30 March 2023
Long-term support
No

What this means for your servers

New vulnerabilities in Ruby 2.7 are no longer fixed. Every newly published CVE that affects it stays open on your servers, and vulnerability scanners and compliance audits (PCI DSS, SOC 2, Cyber Essentials, ISO 27001) flag unsupported software as a finding. Upgrade, or isolate the machine until you can.

How to check if you’re running Ruby 2.7

CLI

ruby -v

What to upgrade to

The newest supported release is Ruby 4.0, supported until 31 March 2029.

Each Ruby branch is maintained for about three years. Install the new version with a version manager (rbenv, asdf, chruby) or a ruby:<version> image, update .ruby-version, then run bundle install and your test suite.

Find end-of-life software before an auditor does

Statance reads the version from official Ruby container image tags on your servers and raises a security finding when it goes past end of life or falls behind the latest patch, along with known CVEs from OSV.dev and CISA’s Known Exploited Vulnerabilities list. Security monitoring is included in Pro and Business. How security monitoring works.

Other Ruby releases

ReleaseStatusSecurity support ends
Ruby 4.0Supported31 March 2029
Ruby 3.4Supported31 March 2028
Ruby 3.3Supported31 March 2027
Ruby 3.2End of life31 March 2026
Ruby 3.1End of life26 March 2025
Ruby 3.0End of life23 April 2024
Ruby 2.6End of life31 March 2022
Ruby 2.5End of life31 March 2021
Ruby 2.4End of life31 March 2020

All Ruby end-of-life dates →

FAQ

Is Ruby 2.7 end of life?

Yes. Ruby 2.7 reached end of life on 31 March 2023 (3.6 years ago) and no longer receives security updates.

When does Ruby 2.7 reach end of life?

Security support for Ruby 2.7 ended on 31 March 2023.

What should I upgrade Ruby 2.7 to?

Ruby 4.0 is the newest release that is still supported, with security updates until 31 March 2029. Each Ruby branch is maintained for about three years.

Can I keep running Ruby 2.7 after end of life?

It keeps working, but new vulnerabilities will not be fixed, so every newly published CVE stays open on your server. Scanners and compliance frameworks (PCI DSS, SOC 2, Cyber Essentials) treat unsupported software as a finding.

What is the latest version of Ruby 2.7?

The latest release in this cycle is 2.7.8, released on 30 March 2023.

Lifecycle data from endoflife.date/ruby, refreshed 17 November 2026. Vendors occasionally change dates; check the vendor’s own lifecycle page before making a compliance decision.

Stop tracking end-of-life dates by hand.

Statance flags end-of-life and vulnerable software on every server automatically.