<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Thu, 01 Oct 2026 23:43:55 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-54904 — concurrent-ruby:  `AtomicReference#update` livelocks when the stored value is `Float::NAN`</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-54904</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; ruby-concurrency concurrent-ruby&lt;/p&gt;
&lt;p&gt;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&amp;#39;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.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; ruby-concurrency concurrent-ruby&lt;/p&gt;
&lt;p&gt;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&amp;#39;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.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-54904</guid>
    </item>
    <item>
      <title>GHSA-h8w8-99g7-qmvj — Concurrent Ruby : `AtomicReference#update` livelocks when the stored value is `Float::NAN`</title>
      <link>https://vulnerability.circl.lu/vuln/ghsa-h8w8-99g7-qmvj</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; RubyGems: concurrent-ruby&lt;/p&gt;
&lt;p&gt;### Summary
`Concurrent::AtomicReference#update` can enter a permanent busy retry loop when the current value is `Float::NAN`.&lt;/p&gt;
&lt;p&gt;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.
- Ruby NaN semantics, where `Float::NAN == Float::NAN` is always `false`.&lt;/p&gt;
&lt;p&gt;As a result, once an `AtomicReference` contains `Float::NAN`, calling `#update` repeatedly evaluates the caller&amp;#39;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.&lt;/p&gt;
&lt;p&gt;### Version
Software: concurrent-ruby
Version: 1.3.6
Commit: 7a1b78941c081106c20a9ca0144ac73a48d254ab
### Details&lt;/p&gt;
&lt;p&gt;`AtomicReference#update` retries until `compare_and_set` returns true:&lt;/p&gt;
&lt;p&gt;```ruby
def update
  true until compare_and_set(old_value = get, new_value = yield(old_value))
  new_value
end
```&lt;/p&gt;
&lt;p&gt;For numeric expected values, `compare_and_set` uses numeric equality before attempting the underlying atomic compare-and-set:&lt;/p&gt;
&lt;p&gt;```ruby
def compare_and_set(old_value, new_value)
  if old_value.kind_of? Numeric
    while true
      old = get&lt;/p&gt;
&lt;p&gt;return false unless old.kind_of? Numeric
      return false unless old == old_value&lt;/p&gt;
&lt;p&gt;result = _compare_and_set(old, new_value)
      return result if result
    end
  else
    _compare_and_set(old_value,…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; RubyGems: concurrent-ruby&lt;/p&gt;
&lt;p&gt;### Summary
`Concurrent::AtomicReference#update` can enter a permanent busy retry loop when the current value is `Float::NAN`.&lt;/p&gt;
&lt;p&gt;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.
- Ruby NaN semantics, where `Float::NAN == Float::NAN` is always `false`.&lt;/p&gt;
&lt;p&gt;As a result, once an `AtomicReference` contains `Float::NAN`, calling `#update` repeatedly evaluates the caller&amp;#39;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.&lt;/p&gt;
&lt;p&gt;### Version
Software: concurrent-ruby
Version: 1.3.6
Commit: 7a1b78941c081106c20a9ca0144ac73a48d254ab
### Details&lt;/p&gt;
&lt;p&gt;`AtomicReference#update` retries until `compare_and_set` returns true:&lt;/p&gt;
&lt;p&gt;```ruby
def update
  true until compare_and_set(old_value = get, new_value = yield(old_value))
  new_value
end
```&lt;/p&gt;
&lt;p&gt;For numeric expected values, `compare_and_set` uses numeric equality before attempting the underlying atomic compare-and-set:&lt;/p&gt;
&lt;p&gt;```ruby
def compare_and_set(old_value, new_value)
  if old_value.kind_of? Numeric
    while true
      old = get&lt;/p&gt;
&lt;p&gt;return false unless old.kind_of? Numeric
      return false unless old == old_value&lt;/p&gt;
&lt;p&gt;result = _compare_and_set(old, new_value)
      return result if result
    end
  else
    _compare_and_set(old_value,…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/ghsa-h8w8-99g7-qmvj</guid>
    </item>
  </channel>
</rss>
