CVEfocus › CVE database › CVE-2026-54905

CVE-2026-54905concurrent-ruby: `ReentrantReadWriteLock` read-count overflow grants a write lock…

CVSS 2.0 LowEPSS 0.2% (higher than 2% of CVEs)Published 2026-06-24Updated 2026-06-24Assigner: GitHub_M

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.

CWE-128

What to do

Fixed builds are available from Debian, RubyGems: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
7Fix pending
2Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10ruby-concurrentFix pendingUBUNTU-CVE-2026-54905
Ubuntu 26.04ruby-concurrentUnder investigationUBUNTU-CVE-2026-54905
Ubuntu 25.10ruby-concurrentWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-54905
Ubuntu 24.04ruby-concurrentUnder investigationUBUNTU-CVE-2026-54905
Ubuntu 22.04ruby-concurrentFix pendingUBUNTU-CVE-2026-54905
Ubuntu 20.04ruby-concurrentFix pendingUBUNTU-CVE-2026-54905
Ubuntu 18.04ruby-concurrentFix pendingUBUNTU-CVE-2026-54905
Ubuntu 16.04ruby-concurrentFix pendingUBUNTU-CVE-2026-54905
Debian 14ruby-concurrentFixed1.3.7-1DEBIAN-CVE-2026-54905
Debian 13ruby-concurrentFix pendingDEBIAN-CVE-2026-54905
Debian 12ruby-concurrentFix pendingDEBIAN-CVE-2026-54905
RubyGems libraryconcurrent-rubyFixed1.3.7GHSA-wv3x-4vxv-whpp

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.