8.2

CVE-2026-54904: concurrent-ruby: `AtomicReference#update` livelocks when the stored value is `Float::NAN`

Modified
AliasesUBUNTU-CVE-2026-54904DEBIAN-CVE-2026-54904CGA-2w8r-8gg6-jm58
Published 24-06-2026Last modified 05-08-2026

Vulnerability summary

CVE-2026-54904 is a high (CVSS 8.2) Loop with Unreachable Exit Condition vulnerability in ruby-concurrency concurrent-ruby. EPSS estimates a 0.41% chance of exploitation in the next 30 days, higher than 37.6% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
8.2/10
010
High · v4.0 (CVE.org)
EPSS score
0.41%
0%100%
Low · -0.26 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 24-06-2026
    PublishedVulnerability first disclosed.
  2. 05-08-2026
    Last modifiedVulnerability information updated.

Description

concurrent-ruby is a modern concurrency tools for Ruby. Prior to 1.3.7, Concurrent::AtomicReference#update can enter a permanent busy retry loop when the current value is Float::NAN. The issue is caused by the interaction between AtomicReference#update, which retries until compare_and_set(old_value, new_value) succeeds; Numeric compare_and_set, which checks old == old_value before attempting the underlying atomic swap.; and Ruby NaN semantics, where Float::NAN == Float::NAN is always false. As a result, once an AtomicReference contains Float::NAN, calling #update repeatedly evaluates the caller's block and never returns. In services that store externally derived numeric values in an AtomicReference, this can cause CPU exhaustion or permanent request/job hangs. This vulnerability is fixed in 1.3.7.

CVSS metrics

11 scores · 8 sources · 2 versions

EPSS trend

Probability

0.41%

Chance of exploitation in the next 30 days

Percentile

38%

Versus all other CVEs

30-day change

Decrease -0.26 pp

From 0.67% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Concurrent Ruby

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard74 products
  • cinc-auditor< 7.1.7-r7
  • commercial-gitlab-rails-ee-19.1All versions (No fix recorded)
  • commercial-gitlab-rails-ee-19.2< 19.2.7-r4
  • commercial-gitlab-rails-ee-fips-19.1All versions (No fix recorded)
  • commercial-gitlab-rails-ee-fips-19.2< 19.2.7-r4
Wolfi14 products
  • cinc-auditor< 7.1.7-r7
  • kube-fluentd-operator< 1.18.2-r71
  • logstash-9.3All versions (No fix recorded)
  • logstash-9.3-iamguarded-compatAll versions (No fix recorded)
  • logstash-9.4< 9.4.6-r0
Alpine1 product
  • ruby-concurrent-ruby< 1.3.8-r0
Debian1 product
  • ruby-concurrentAll versions (No fix recorded) | < 1.3.7-1
Ruby-concurrency1 product
Rubyconcurrency1 product
RubyGems1 product
  • concurrent-ruby< 1.3.7
Ubuntu1 product
  • ruby-concurrentAll versions (No fix recorded)

8 vendors · 94 products

References

12 links
Show all 12 references