Home / ruby-concurrency / concurrent-ruby / CVE-2026-54904
CVE-2026-54904: is it exploited, and which versions of ruby-concurrency concurrent-ruby are affected and fixed?
CVE-2026-54904 is an infinite loop (denial of service) vulnerability in ruby-concurrency concurrent-ruby. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:08 UTC). Affected: concurrent-ruby before 1.3.7 (GitHub advisory GHSA-h8w8-99g7-qmvj). Fixed in 1.3.7 (GitHub advisory GHSA-h8w8-99g7-qmvj). Severity: High (8.2, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:08 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:10 UTC.
What is CVE-2026-54904?
concurrent-ruby: `AtomicReference#update` livelocks when the stored value is `Float::NAN`
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.
From the CVE record by GitHub_M, last updated August 5, 2026, 17:36 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| ruby-concurrency | concurrent-ruby | < 1.3.7 |
As the CVE record by GitHub_M states it, last updated August 5, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| RubyGems | concurrent-ruby | < 1.3.7 | 1.3.7 | GHSA-h8w8-99g7-qmvj |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 5, 2026. Summary: Concurrent Ruby : `AtomicReference#update` livelocks when the stored value is `Float::NAN`.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| rubyconcurrency | concurrent ruby | before 1.3.7 | application |
NVD analysis (status Modified), last modified October 25, 2026, 22:10 UTC.
How severe is CVE-2026-54904?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.2 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | GitHub_M |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-54904 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, June 25, 2026)
- EPSS
- 0.41% probability of exploitation activity in the next 30 days, percentile 37.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-835 Loop with Unreachable Exit Condition
Where are the vendor advisories and references?
- https://github.com/ruby-concurrency/concurrent-ruby/security/advisories/GHSA-h8w8-99g7-qmvj x_refsource_CONFIRM
- https://github.com/ruby-concurrency/concurrent-ruby/commit/6e37e0644b83b182971dc540d2e4bee38df61386 x_refsource_MISC
- https://github.com/ruby-concurrency/concurrent-ruby/releases/tag/v1.3.7 x_refsource_MISC
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/concurrent-ruby/CVE-2026-54904.yml x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- June 16, 2026
- Published
- June 24, 2026, 15:44 UTC
- CVE record updated
- August 5, 2026, 17:36 UTC by GitHub_M
- NVD
- Modified, last modified October 25, 2026, 22:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:10 UTC; KEV December 3, 2026, 13:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect concurrent-ruby?
- Jun 24, 2026CVE-2026-54906 ruby-concurrency concurrent-ruby: missing Lock Check
- Jun 24, 2026CVE-2026-54905 ruby-concurrency concurrent-ruby: wrap-around Error
Questions about CVE-2026-54904
Is CVE-2026-54904 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:08 UTC. FIRST's EPSS gives it a 0.41% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of ruby-concurrency concurrent-ruby are affected by CVE-2026-54904?
concurrent-ruby before 1.3.7, per the GitHub advisory GHSA-h8w8-99g7-qmvj. The tables above give every range the sources list.
Which version fixes CVE-2026-54904?
1.3.7, per the GitHub advisory GHSA-h8w8-99g7-qmvj. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-54904?
High (8.2, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-54904?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.