Stories

  1. Ruby 4.0.5 Released

    The Ruby team has released Ruby 4.0.5 with a security fix for CVE-2026-46727, a use-after-free in the pthread-based getaddrinfo timeout handler. The update also addresses a build-system regression in Ruby 4.0.4 under the C locale. Ruby’s planned release schedule calls for Ruby 4.0.6 in July, 4.0.7 in September and 4.0.8 in November.

  2. CVE-2026-46727: Use-after-free in pthread-based getaddrinfo timeout handler

    A use-after-free vulnerability in Ruby’s pthread-based getaddrinfo timeout handler can let a remote attacker trigger a process crash by delaying DNS responses near the configured timeout. The issue affects Ruby 4.0.0 through 4.0.4 and Ruby 4.1.0-dev before the fix; Ruby 3.4 and earlier are not affected. Ruby 4.0.5 or later contains the fix. Until upgrading, users can avoid the affected timeout options in Addrinfo.getaddrinfo and Socket.tcp.

Topics

Publishers