Vulnerability
CVE-2026-54904
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.
151 advisories report this vulnerability, across 7 ecosystems.
Advisories
- CGA-26j4-g849-4jq8
- CGA-2c5h-78m6-7rq9
- CGA-2fqp-7gv5-vgc3
- CGA-2vhr-3pwv-732x
- CGA-2w8r-8gg6-jm58
- CGA-32pm-97rj-xjhq
- CGA-366c-cg6q-3549
- CGA-3fr2-34x2-rgpq
- 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-4qcq-2vg4-fhg6
- CGA-4wjw-qvj7-53f3
- CGA-4x87-7cjh-rggm
- 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-55jm-fcrq-gmx7
- CGA-568q-jhr4-hpjm
- CGA-59q3-x8h2-2qp9
- CGA-5c2q-vh2m-rpg5
- CGA-5cg3-7gxq-8pqh
- CGA-5cjx-gcw2-r9qx
- CGA-5fc6-34w7-g774
- CGA-5g8w-9ff8-xcxp
- CGA-5vhj-j4hq-hxm7
- CGA-5x7h-vx8m-5mw6
- CGA-5xmf-x3v6-c4v6
- 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-79r3-frcx-7hpq
- CGA-7j82-q49w-3h9p
- CGA-7pcc-m3p6-6vxm
- CGA-7qjj-3956-4pcg
- 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-fgg8-g6f2-8rv3
- CGA-fpp2-34qr-g6h3
- CGA-fqcp-qx76-34vc
- CGA-g9g7-hvvr-hcp9
- CGA-gg74-vxw5-mmm6
- CGA-ggqc-975f-p5r6
- CGA-gqqq-rfqh-f9f6
- CGA-gvx9-34h4-72p9
- CGA-gwq9-3vc5-fr28
- CGA-gxcg-389m-c6qf
- CGA-h4xq-827q-3hfj
- 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-hwjc-w997-hwwc
- CGA-hwx3-8j7r-2xjp
- CGA-hx5q-vvr3-h3wv
- CGA-j27m-mwm5-wx2q
- CGA-j2h5-h743-w4p5
- CGA-j4mc-m4fr-wxv6
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2026-54904.
References
- https://github.com/ruby-concurrency/concurrent-ruby/commit/6e37e0644b83b182971dc540d2e4bee38df61386
- https://github.com/ruby-concurrency/concurrent-ruby/releases/tag/v1.3.7
- https://github.com/ruby-concurrency/concurrent-ruby/security/advisories/GHSA-h8w8-99g7-qmvj
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/concurrent-ruby/CVE-2026-54904.yml