CVEfocus › CVE database › CVE-2026-54906

CVE-2026-54906concurrent-ruby: ReadWriteLock allows wrong-thread write release and stray read-release…

CVSS 2.1 LowEPSS 0.3% (higher than 10% 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::ReadWriteLock#release_write_lock does not verify that the calling thread acquired the write lock. Any thread with access to the lock object can release an active write lock held by another thread. A second writer can then enter its critical section while the first writer is still running. Concurrent::ReadWriteLock#release_read_lock also decrements the shared counter even when no read lock is held. Calling it on a fresh lock changes the counter from 0 to -1, after which normal read acquisition raises Concurrent::ResourceLimitError. This is a synchronization correctness issue in the public Concurrent::ReadWriteLock API. This vulnerability is fixed in 1.3.7.

CWE-414CWE-667

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
9Fix pending
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-54906
Ubuntu 26.04ruby-concurrentFix pendingUBUNTU-CVE-2026-54906
Ubuntu 25.10ruby-concurrentWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-54906
Ubuntu 24.04ruby-concurrentFix pendingUBUNTU-CVE-2026-54906
Ubuntu 22.04ruby-concurrentFix pendingUBUNTU-CVE-2026-54906
Ubuntu 20.04ruby-concurrentFix pendingUBUNTU-CVE-2026-54906
Ubuntu 18.04ruby-concurrentFix pendingUBUNTU-CVE-2026-54906
Ubuntu 16.04ruby-concurrentFix pendingUBUNTU-CVE-2026-54906
Debian 14ruby-concurrentFixed1.3.7-1DEBIAN-CVE-2026-54906
Debian 13ruby-concurrentFix pendingDEBIAN-CVE-2026-54906
Debian 12ruby-concurrentFix pendingDEBIAN-CVE-2026-54906
RubyGems libraryconcurrent-rubyFixed1.3.7GHSA-6wx8-w4f5-wwcr

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.