CVE-2026-46727
published high CVSS 3.1 · 8.1Ruby vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ruby-lang | — | Ruby4.0.0 to < 4.0.5 · Other versions: unaffected | Affected | Not stated | mitre |
| SUSE / openSUSE | openSUSE-Tumbleweed | libruby4_0-4_0aarch64 | Advisory build | 4.0.5-1.1 | OPENSUSE-SU-2026:10839-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libruby4_0-4_0ppc64le | Advisory build | 4.0.5-1.1 | OPENSUSE-SU-2026:10839-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libruby4_0-4_0s390x | Advisory build | 4.0.5-1.1 | OPENSUSE-SU-2026:10839-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libruby4_0-4_0x86_64 | Advisory build | 4.0.5-1.1 | OPENSUSE-SU-2026:10839-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0aarch64 | Advisory build | 4.0.5-1.1 | OPENSUSE-SU-2026:10839-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0ppc64le | Advisory build | 4.0.5-1.1 | OPENSUSE-SU-2026:10839-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0s390x | Advisory build | 4.0.5-1.1 | OPENSUSE-SU-2026:10839-1 |
Show 17 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0x86_64 | Advisory build | 4.0.5-1.1 | OPENSUSE-SU-2026:10839-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-develaarch64 | Advisory build | 4.0.5-1.1 | OPENSUSE-SU-2026:10839-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-develppc64le | Advisory build | 4.0.5-1.1 | OPENSUSE-SU-2026:10839-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-devels390x | Advisory build | 4.0.5-1.1 | OPENSUSE-SU-2026:10839-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-develx86_64 | Advisory build | 4.0.5-1.1 | OPENSUSE-SU-2026:10839-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-devel-extraaarch64 | Advisory build | 4.0.5-1.1 | OPENSUSE-SU-2026:10839-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-devel-extrappc64le | Advisory build | 4.0.5-1.1 | OPENSUSE-SU-2026:10839-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-devel-extras390x | Advisory build | 4.0.5-1.1 | OPENSUSE-SU-2026:10839-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-devel-extrax86_64 | Advisory build | 4.0.5-1.1 | OPENSUSE-SU-2026:10839-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-docaarch64 | Advisory build | 4.0.5-1.1 | OPENSUSE-SU-2026:10839-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-docppc64le | Advisory build | 4.0.5-1.1 | OPENSUSE-SU-2026:10839-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-docs390x | Advisory build | 4.0.5-1.1 | OPENSUSE-SU-2026:10839-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-docx86_64 | Advisory build | 4.0.5-1.1 | OPENSUSE-SU-2026:10839-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-doc-riaarch64 | Advisory build | 4.0.5-1.1 | OPENSUSE-SU-2026:10839-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-doc-rippc64le | Advisory build | 4.0.5-1.1 | OPENSUSE-SU-2026:10839-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-doc-ris390x | Advisory build | 4.0.5-1.1 | OPENSUSE-SU-2026:10839-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-doc-rix86_64 | Advisory build | 4.0.5-1.1 | OPENSUSE-SU-2026:10839-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- mitre · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ruby-lang | Ruby | 4.0.0 to < 4.0.5 (affected · semver)Default: unaffected | mitre · cna |
Weaknesses
1- CWE-362 CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
References
2Provider assertions
2mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f8596060e3cfcb45c3e021f5c779a0b31aaada8733e81ec11d516ebd7051115c
- Ingested
- 23 Sep 2026, 09:16:38 UTC
- Source record
- Official CVE record