CVE-2026-54905
concurrent-ruby: Concurrent-ruby: Incorrect write lock granting leading to broken mutual exclusion
Overview
Description
concurrent-ruby is a modern concurrency tools for Ruby. Prior to 1.3.7, Concurrent::ReentrantReadWriteLock can incorrectly grant a write lock after one thread acquires the read lock 32,768 times. The lock stores a thread's local read and write hold counts in one integer. The low 15 bits are used for the read hold count, and bit 15 is used as WRITE_LOCK_HELD. After 32,768 reentrant read acquisitions, the local read count crosses into the write-lock bit. try_write_lock then treats the thread as already holding a write lock and returns true without setting the global RUNNING_WRITER bit. This breaks the core mutual-exclusion guarantee: the caller is told it has a write lock, but other threads can still hold or acquire read locks at the same time. This vulnerability is fixed in 1.3.7.
Source: OX vulnerability database
Severity
5.5 · LOW
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness: CWE-128
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| RubyGems | concurrent-ruby | <1.3.7 | 1.3.7 |
Open a package to see all its vulnerabilities.
Operating systems · 50 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | rubygem-concurrent-ruby | 0:1.3.7-1.azl3 |
Photon OS 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | rubygem-concurrent-ruby | 1.1.7-3.ph4 |
| 5.0 | rubygem-concurrent-ruby | 1.3.7-1.ph5 |
Red Hat 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | rubygem-concurrent-ruby | affected |
| 7 (satellite-capsule:el8) | rubygem-concurrent-ruby | affected |
| 9 | rubygem-concurrent-ruby | affected |
chainguard 1 release · 23 packages
| Release | Package | Fixed in |
|---|---|---|
| ruby3-2-fluentd-kubernetes-daemonset-1-16 +2 | 1.16.11.1.0-r4 | |
| ruby4-0-fluentd-kubernetes-daemonset-1-16 | 1.16.11.1.0-r5 | |
| ruby3-3-fluentd-kubernetes-daemonset-1-17 | 1.17.1.1.2-r10 | |
| ruby3-2-fluentd-kubernetes-daemonset-1-17 | 1.17.1.1.2-r11 | |
| ruby3-2-fluentd-kubernetes-daemonset-1-18 +2 | 1.18.0.1.5-r4 | |
| ruby3-3-fluentd-kubernetes-daemonset-1-18 | 1.18.0.1.5-r5 |
17 more rows
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | ruby-concurrent | affected |
| 12 | ruby-concurrent | affected |
| 13 | ruby-concurrent | affected |
| 14 | ruby-concurrent | 1.3.7-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| ruby-concurrent | affected |
minimos 1 release · 5 packages
| Release | Package | Fixed in |
|---|---|---|
| ruby3-4-fluentd-kubernetes-daemonset-1-19 +1 | 1.19.3.1.0-r0 | |
| ruby3-2-concurrent-ruby +2 | 1.3.7-r0 | |
| logstash-8-19 | 8.19.21-r0 | |
| logstash-9-4 | 9.4.6-r0 | |
| logstash-9-5 | 9.5.2-r0 |
ubuntu 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | ruby-concurrent | affected |
| 20.04-ESM | ruby-concurrent | affected |
| 22.04 | ruby-concurrent | affected |
wolfi 1 release · 8 packages
| Release | Package | Fixed in |
|---|---|---|
| kube-fluentd-operator | 1.18.2-r71 | |
| ruby3-2-fluentd-kubernetes-daemonset-1-19 | 1.19.2.1.1-r5 | |
| ruby3-3-fluentd-kubernetes-daemonset-1-19 +2 | 1.19.3.1.0-r0 | |
| kube-logging-operator | 6.7.0-r5 | |
| cinc-auditor | 7.1.7-r7 | |
| ruby3-2-rails-8-1 | 8.1.3-r6 |
2 more rows
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-54905
- advisories.gitlab.com https://advisories.gitlab.com/gem/concurrent-ruby/CVE-2026-54905
- github.com https://github.com/advisories/GHSA-wv3x-4vxv-whpp
- github.com https://github.com/ruby-concurrency/concurrent-ruby
- github.com https://github.com/ruby-concurrency/concurrent-ruby/releases/tag/v1.3.7
- github.com https://github.com/ruby-concurrency/concurrent-ruby/security/advisories/GHSA-wv3x-4vxv-whpp
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/concurrent-ruby/CVE-2026-54905.yml
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-54905
- rubygems.org https://rubygems.org/gems/concurrent-ruby/versions/1.3.7
- www.cve.org https://www.cve.org/CVERecord/SearchResults?query=CVE-2026-54905
Show all 11 references
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.