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

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-06-24 · Modified: 2026-08-05
- Aliases: UBUNTU-CVE-2026-54904, DEBIAN-CVE-2026-54904, CGA-2w8r-8gg6-jm58, CGA-366c-cg6q-3549, CGA-3fr2-34x2-rgpq, CGA-4qcq-2vg4-fhg6, CGA-4x87-7cjh-rggm, CGA-55jm-fcrq-gmx7, CGA-5cg3-7gxq-8pqh, CGA-5x7h-vx8m-5mw6, CGA-5xmf-x3v6-c4v6, CGA-79r3-frcx-7hpq, CGA-7qjj-3956-4pcg, CGA-fgg8-g6f2-8rv3, CGA-gg74-vxw5-mmm6, CGA-h4xq-827q-3hfj, CGA-hwjc-w997-hwwc, CGA-m2f2-4gxf-mvw8, CGA-m8qj-8gjq-6gq2, CGA-p7ff-q6qp-67q7, CGA-p9qc-cvpp-rx35, CGA-qgw3-6cxm-v7gp, CGA-qq34-pgg9-5prg, CGA-r8mm-8hj9-r43j, CGA-rhf5-79x7-r84c, CGA-rvmv-4mf2-x9h2, CGA-v8hg-5w3r-mmgh, CGA-vw2g-rjc5-66hh, CGA-wwfr-68mp-vvjq, CGA-26j4-g849-4jq8, CGA-2c5h-78m6-7rq9, CGA-2fqp-7gv5-vgc3, CGA-2vhr-3pwv-732x, CGA-32pm-97rj-xjhq, CGA-44cv-vg5j-5f73, CGA-44qf-q529-22ph, CGA-44r3-27jj-gpv4, CGA-45r8-3r95-qj36, CGA-45vc-fpw9-3fxq, CGA-4fx4-482m-pgxx, CGA-4g8h-24rj-2jp9, CGA-4wjw-qvj7-53f3, CGA-5398-gx47-84j5, CGA-54hf-3fcc-h9w8, CGA-54jh-vmqp-rwc3, CGA-54wj-p854-w88g, CGA-559w-vgpx-7p68, CGA-55g8-6p4v-qp59, CGA-568q-jhr4-hpjm, CGA-59q3-x8h2-2qp9, CGA-5c2q-vh2m-rpg5, CGA-5cjx-gcw2-r9qx, CGA-5fc6-34w7-g774, CGA-5g8w-9ff8-xcxp, CGA-5vhj-j4hq-hxm7, CGA-63jp-c232-3g5j, CGA-67f5-736w-5qx4, CGA-6mmw-46fq-7483, CGA-6xjc-25p4-9j36, CGA-7673-phgm-4j66, CGA-785g-q6rh-qvjx, CGA-7j82-q49w-3h9p, CGA-7pcc-m3p6-6vxm, CGA-7r65-65h7-4gxp, CGA-7rch-h4ww-gw97, CGA-7v44-fgh2-35w2, CGA-7v7j-5236-qvm8, CGA-82qw-8qcc-xf84, CGA-8399-3hgp-7gjj, CGA-842w-hcxf-84wj, CGA-84px-3v33-mc77, CGA-8jjw-xxgj-8hh9, CGA-8mc6-p263-6mmg, CGA-8r7f-fmm2-mmhv, CGA-8wc5-jq5j-cj2p, CGA-9358-6hxh-rq26, CGA-94jp-rw6w-54cq, CGA-978j-p4ww-rhgm, CGA-9928-hr4x-4g92, CGA-9hhr-gmqw-7p3g, CGA-9j45-556p-h6xm, CGA-9m87-hv7r-48mf, CGA-9vc6-q5jq-5w9r, CGA-c44w-vx22-gmq6, CGA-c4w3-gp9j-j3v3, CGA-c7j5-cwhw-q9p7, CGA-cm9x-xmrv-frfx, CGA-cqx9-hhvq-rqwh, CGA-cw32-mr6c-jfxc, CGA-f58f-9x3m-3pvf, CGA-ffh8-w6c9-3x29, CGA-fpp2-34qr-g6h3, CGA-fqcp-qx76-34vc, CGA-g9g7-hvvr-hcp9, CGA-ggqc-975f-p5r6, CGA-gqqq-rfqh-f9f6, CGA-gvx9-34h4-72p9, CGA-gwq9-3vc5-fr28, CGA-gxcg-389m-c6qf, CGA-h5m7-gwm7-vjqv, CGA-h8cr-4gc7-rw44, CGA-h8qw-jp4q-xm6j, CGA-hc43-gwgj-2gjp, CGA-hfmr-m858-pvxg, CGA-hhvj-69jc-c2jx, CGA-hj6m-w87h-vjmw, CGA-hq6x-2cw7-5vp8, CGA-hq86-82jh-wr58, CGA-hrcq-38fr-qqjx, CGA-hwx3-8j7r-2xjp, CGA-hx5q-vvr3-h3wv, CGA-j27m-mwm5-wx2q, CGA-j2h5-h743-w4p5, CGA-j4mc-m4fr-wxv6, CGA-j9pw-m4xv-7m3f, CGA-jfjq-46xw-c7wm, CGA-jj23-77hx-vwg6, CGA-jp35-q5hg-hhcm, CGA-jwqq-hf22-p789, CGA-m3hh-348m-9953, CGA-m6qq-w79v-wqv8, CGA-m9q9-4rc7-h7rh, CGA-m9wv-c94v-7qw3, CGA-mv4m-627r-xgvh, CGA-pc57-66qv-35vw, CGA-ppvv-q6fm-jjxj, CGA-pqc7-gq98-6ff5, CGA-pr65-x5f4-j5ch, CGA-pw46-gxq9-c9cw, GHSA-h8w8-99g7-qmvj, CGA-pwhf-62mf-vwj5, CGA-q2wr-8jmp-5jqq, CGA-q7wj-7fxf-ch5v, CGA-q869-hgjp-qp55, CGA-qwxq-qwg3-rrq3, CGA-rj29-92wv-hw6x, CGA-rv53-x48m-f65x, CGA-vg24-8v8r-xrgp, CGA-vx78-246h-g554, CGA-w3v3-gx27-vr4f, CGA-w5fv-42cv-3rjg, CGA-wf3w-qrq6-p49m, CGA-wghc-p469-qfx2, CGA-x386-6968-7r2j, CGA-x7jf-xm7h-jr92, CGA-xc6q-439f-fhvx, CGA-xqv2-jj35-w8jx, CGA-xv2q-ccm9-6hqq, CGA-xvf8-c8hj-qw32, CGA-xwpp-pm9q-mp6r, ALPINE-CVE-2026-54904
- Record: https://cvemate.com/vulnerability/CVE-2026-54904 · JSON: https://cvemate.com/vulnerability/CVE-2026-54904/json

## Description

```text
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.
```

## Signals

- CVSS: 8.2 high (v4.0, CVE.org) 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
- EPSS: 0.413%, percentile 37.629%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected (first 20 of 94)

- alpine ruby-concurrent-ruby (Alpine Linux): \< 1.3.8-r0
- chainguard cinc-auditor (Chainguard): \< 7.1.7-r7
- chainguard commercial-gitlab-rails-ee-19.1 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-19.2 (Chainguard): \< 19.2.7-r4
- chainguard commercial-gitlab-rails-ee-fips-19.1 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-fips-19.2 (Chainguard): \< 19.2.7-r4
- chainguard gitlab-rails-ce-18.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.10 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.11 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.5 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.6 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.7 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.9 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.0 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.2 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.10 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.11 (Chainguard): All versions (No fix recorded)

## References

- <https://github.com/ruby-concurrency/concurrent-ruby/security/advisories/GHSA-h8w8-99g7-qmvj>
- <https://github.com/ruby-concurrency/concurrent-ruby/commit/6e37e0644b83b182971dc540d2e4bee38df61386>
- <https://github.com/ruby-concurrency/concurrent-ruby/releases/tag/v1.3.7>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/concurrent-ruby/CVE-2026-54904.yml>
- <https://ubuntu.com/security/CVE-2026-54904>
- <https://www.cve.org/CVERecord?id=CVE-2026-54904>
- <https://security-tracker.debian.org/tracker/CVE-2026-54904>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54904.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-54904>
- <https://github.com/ruby-concurrency/concurrent-ruby>
- <https://www.cve.org/CVERecord/SearchResults?query=CVE-2026-54904>
- <https://security.alpinelinux.org/vuln/CVE-2026-54904>

---

Data as of 2026-12-05T11:31:15.137Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
