CVE Wiki Pixee · CVE intelligence
← All CVEs

CVE-2026-54906

Critical · CVSS 9.8

concurrent-ruby — Improper lock release verification leading to missing synchronization / lock state corruption (CWE-414, CWE-667)

CVSS
9.8
nvd
EPSS
KEV
No
Class
other
CWE-414, CWE-667

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.

Search profile — drives PoC discovery

Symbols Concurrent::ReadWriteLockrelease_write_lockrelease_read_lockConcurrent::ResourceLimitErrorReadWriteLock#release_write_lockReadWriteLock#release_read_lock
Keywords CVE-2026-54906concurrent-rubyReadWriteLockrelease_write_lockrelease_read_lockGHSA-6wx8-w4f5-wwcrlock release verificationsynchronization correctnessResourceLimitErrorwrite lock bypass
Versions: < 1.3.7

References

Status: enriched · ingested 2026-06-27T00:00:38.000Z · profiled 2026-07-01T18:30:14.000Z