CVE-2026-54906
published low CVSS 4.0 · 2.1concurrent-ruby: ReadWriteLock allows wrong-thread write release and stray read-release counter corruption
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ruby-concurrency | — | concurrent-ruby< 1.3.7 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | ruby-concurrent-ruby | Fixed | 1.3.8-r0 | Package fix record |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.1 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ruby-concurrency | concurrent-ruby | < 1.3.7 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-414 CWE-414: Missing Lock Check
- CWE-667 CWE-667: Improper Locking
References
1Provider assertions
2GitHub_M · cna
concurrent-ruby: ReadWriteLock allows wrong-thread write release and stray read-release counter corruption
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- be884f01f51ef4096e884edc8c0a5e1bb0100f74be8f1ea55d84fbd753f70186
- Ingested
- 23 Sep 2026, 09:20:39 UTC
- Source record
- Official CVE record