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

- Severity: Low 2.1 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-19T20:47:41.000Z
- Modified: 2026-10-25T22:10:00.150Z
- Also known as: GHSA-6wx8-w4f5-wwcr
- Weaknesses: CWE-414, CWE-667
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- ruby-concurrency concurrent-ruby: < 1.3.7
- concurrent-ruby (RubyGems): before 1.3.7
- rubyconcurrency concurrent_ruby: before 1.3.7

## Every score

- GitHub_M: CVSS:4.0 2.1 Low `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`
- GitHub: CVSS:4.0 Low `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`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/ruby-concurrency/concurrent-ruby/security/advisories/GHSA-6wx8-w4f5-wwcr> (exploit, third-party-advisory, web)
- <https://github.com/ruby-concurrency/concurrent-ruby> (package)

## Sources

- CVE List: [CVE-2026-54906](https://www.cve.org/CVERecord?id=CVE-2026-54906), CVE Terms of Use, modified 2026-06-24
- GitHub Advisory Database: [GHSA-6wx8-w4f5-wwcr](https://github.com/advisories/GHSA-6wx8-w4f5-wwcr), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-54906](https://nvd.nist.gov/vuln/detail/CVE-2026-54906), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-54906 · Whole record: https://cve.day/CVE-2026-54906.json · Rebuilt by cve.day 2026-11-25T22:59:25.709Z
