8.1

CVE-2026-46727: ruby-lang ruby Race Condition

CVSS: 8.1v3.1HighAnalyzed
AliasesUBUNTU-CVE-2026-46727openSUSE-SU-2026:10839-1
Published 22-05-2026Last modified 22-05-2026

Vulnerability summary

CVE-2026-46727 is a high (CVSS 8.1) Race Condition vulnerability in ruby-lang ruby. EPSS estimates a 0.49% chance of exploitation in the next 30 days, higher than 41% of scored vulnerabilities.

Overall risk
32/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.1/10
010
High · v3.1 (CVE.org)
EPSS score
0.49%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 22-05-2026
    PublishedVulnerability first disclosed.
  2. 22-05-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.49%

Chance of exploitation in the next 30 days

Percentile

41%

Versus all other CVEs

30-day change

+0.01 pp

From 0.48% on 22-09-2026

22-09-202622-10-2026
EPSS score
0.49%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Ubuntu7 products
  • jrubyAll versions (No fix recorded)
  • ruby2.3All versions (No fix recorded)
  • ruby2.5All versions (No fix recorded)
  • ruby2.7All versions (No fix recorded)
  • ruby3.0All versions (No fix recorded)
Opensuse1 product
  • ruby4.0&distro=openSUSE Tumbleweed< 4.0.5-1.1
Ruby-lang1 product
  • ruby≥ 4.0.0, < 4.0.5

3 vendors · 9 products

References

5 links