---
title: "Ruby 4.0.5 Released"
url: https://daily.dev/posts/ruby-4-0-5-released-twcsdi9wj
source_url: https://www.ruby-lang.org/en/news/2026/05/20/ruby-4-0-5-released
type: article
source: "Ruby"
published: 2026-05-20T00:38:47.902Z
updated: 2026-05-20T00:39:05.253Z
tags: ["security", "ruby"]
reading_time: 2
upvotes: 1
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Ruby 4.0.5 Released

**[Ruby](https://daily.dev/sources/ruby)** · 2 min read · 1 upvotes · 0 comments

## Summary

Ruby 4.0.5 has been released with a security fix for CVE-2026-46727, a use-after-free vulnerability in the pthread-based getaddrinfo timeout handler, and a build system regression fix introduced in Ruby 4.0.4 under C locale. The release schedule continues with Ruby 4.0.6 planned for July, 4.0.7 for September, and 4.0.8 for November.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.ruby-lang.org/en/news/2026/05/20/ruby-4-0-5-released>

## Similar posts on daily.dev

- [Ruby 4.0.4 Released](https://daily.dev/posts/ruby-4-0-4-released-tyrrhdgru) · Ruby · 3 upvotes · 0 comments
- [Ruby 4.0.6 Released](https://daily.dev/posts/ruby-4-0-6-released-sud5stqti) · Ruby · 14 upvotes · 0 comments
- [CVE-2026-46727: Use-after-free in pthread-based getaddrinfo timeout handler](https://daily.dev/posts/cve-2026-46727-use-after-free-in-pthread-based-getaddrinfo-timeout-handler-wsx4kaak6) · Ruby · 1 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#ruby](https://daily.dev/tags/ruby)

[View this post on daily.dev](https://daily.dev/posts/ruby-4-0-5-released-twcsdi9wj)
