Breaking News: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2026-46727

An issue was discovered in Ruby 4 before 4.0.5.

Overview

Published
22 May 2026
Modified
23 Jul 2026
High CVE
2 Registry packages
9 OS packages
3 Linux distributions
Yes Fix available

Description

An issue was discovered in Ruby 4 before 4.0.5. A race condition leading to a use-after-free in the pthread-based getaddrinfo timeout handler (rb_getaddrinfo in ext/socket/raddrinfo.c) allows a remote attacker who can delay DNS responses near the user-specified timeout to crash a Ruby process that calls Addrinfo.getaddrinfo(..., timeout:) or Socket.tcp(..., resolv_timeout:). Memory-corruption-based exploitation is theoretically possible. The attack could, for example, be carried out through a crafted authoritative DNS server or recursive resolver.

Source: OX vulnerability database

Severity

8.1 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness: CWE-362

Affected packages · 2

Packages affected by CVE-2026-46727
EcosystemPackageVulnerableFixed in
Bitnami ruby >=4.0.0, <4.0.5 4.0.5
Bitnami ruby-min >=4.0.0, <4.0.5 4.0.5

Open a package to see all its vulnerabilities.

Operating systems · 3 fixes

Photon OS 1 release · 1 package

fixed 1
ruby
Photon OS fixes for CVE-2026-46727
ReleasePackageFixed in
5.0 ruby +1 4.0.5-1.ph5

minimos 1 release · 1 package

fixed 1
ruby-4-0
minimos fixes for CVE-2026-46727
ReleasePackageFixed in
ruby-4-0 4.0.5-r0

openSUSE 1 release · 1 package

fixed 1
libruby4-0-4-0
openSUSE fixes for CVE-2026-46727
ReleasePackageFixed inAdvisory
Tumbleweed libruby4-0-4-0 +5 4.0.5-1.1 openSUSE-SU-2026:10839-1

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.