CVE-2026-54906 Details
Description
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.
A synchronization correctness vulnerability has been identified in the `concurrent-ruby` library, specifically in the `Concurrent::ReadWriteLock` component, prior to version 1.3.7. The issue arises because the `release_write_lock` method does not verify if the calling thread actually holds the write lock. This flaw allows any thread with access to the lock object to release a write lock held by another thread, potentially leading to concurrent execution of critical sections by multiple writers. Additionally, the `release_read_lock` method improperly decrements the lock's shared counter even when no read lock is held, causing a fresh lock to register a counter of -1. This stray read release can disrupt normal lock operations and trigger a `Concurrent::ResourceLimitError` during subsequent read acquisitions.
Users should upgrade to `concurrent-ruby` version 1.3.7 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 24, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/ruby-concurrency/concurrent-ruby/security/advisories/GHSA-6wx8-w4f5-wwcr | CISA-ADP | Third Party Advisory |
| https://github.com/ruby-concurrency/concurrent-ruby/security/advisories/GHSA-6wx8-w4f5-wwcr | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-414 | Missing Lock Check | [email protected] |
| CWE-667 | Improper Locking | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| rubyconcurrency concurrent ruby | < 1.3.7 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 26, 2026 | Initial Analysis | [email protected] |
| Jun 24, 2026 | CVE Modified | CISA-ADP |
| Jun 24, 2026 | New CVE Received | [email protected] |