BIT-ruby-min-2026-46727

See a problem?
Import Source
https://github.com/bitnami/vulndb/tree/main/data/ruby-min/BIT-ruby-min-2026-46727.json
JSON Data
https://api.osv.dev/v1/vulns/BIT-ruby-min-2026-46727
Aliases
Published
2026-05-27T08:57:37.330Z
Modified
2026-05-27T09:41:26.803691384Z
Summary
[none]
Details

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 (rbgetaddrinfo 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(..., resolvtimeout:). Memory-corruption-based exploitation is theoretically possible. The attack could, for example, be carried out through a crafted authoritative DNS server or recursive resolver.

Database specific
{
    "severity": "High",
    "cpes": [
        "cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*"
    ]
}
References

Affected packages

Bitnami / ruby-min

Package

Name
ruby-min
Purl
pkg:bitnami/ruby-min

Severity

  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator

Affected ranges

Type
SEMVER
Events
Introduced
4.0.0
Fixed
4.0.5

Database specific

source
"https://github.com/bitnami/vulndb/tree/main/data/ruby-min/BIT-ruby-min-2026-46727.json"