A vulnerability was found in Ruby up to 4.0.4. It has been rated as problematic. This impacts the function rb_getaddrinfo of the file ext/socket/raddrinfo.c of the component Authoritative Handler. Performing a manipulation results in race condition.

This vulnerability was named CVE-2026-46727. The attack may be initiated remotely. There is no available exploit.

Upgrading the affected component is advised.