CVE catalog

CVE-2026-54905

concurrent-ruby is a modern concurrency tools for Ruby. Prior to 1.3.7, Concurrent::ReentrantReadWriteLock can incorrectly grant a write lock after one thread acquires the read lock 32,768 times. The

[CVE catalog]

Severity
Medium · CVSS 4.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.15% · Oct 25, 2026

concurrent-ruby is a modern concurrency tools for Ruby. Prior to 1.3.7, Concurrent::ReentrantReadWriteLock can incorrectly grant a write lock after one thread acquires the read lock 32,768 times. The lock stores a thread's local read and write hold counts in one integer. The low 15 bits are used for the read hold count, and bit 15 is used as WRITE_LOCK_HELD. After 32,768 reentrant read acquisitions, the local read count crosses into the write-lock bit. try_write_lock then treats the thread as already holding a write lock and returns true without setting the global RUNNING_WRITER bit. This breaks the core mutual-exclusion guarantee: the caller is told it has a write lock, but other threads can still hold or acquire read locks at the same time. This vulnerability is fixed in 1.3.7.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianruby-concurrentsid1.3.8-1fixed
Debianruby-concurrentforky1.3.8-1fixed
Debianruby-concurrenttrixie1.3.5-1vulnerable
Debianruby-concurrentbookworm1.1.6+dfsg-5vulnerable
Cperuby-concurrentNot reportedNot reportedvulnerable
Cpeconcurrent_rubyNot reported1.3.7fixed
Cpeconcurrent_rubyNot reported1.3.7fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianruby-concurrentsourcesid1.3.7-1not yet assignedNot reportedNot reported
Debianruby-concurrentsourceforky1.3.7-1not yet assignedNot reportedNot reported
Debianruby-concurrentsourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debianruby-concurrentsourcebookworm(unfixed)not yet assignedNot reportedNot reported
Cpeconcurrent_rubycpeNot reported1.3.7Not reportedNot reportedNot reported
Cpeconcurrent_rubycpeNot reported1.3.7Not reportedNVD-CVE-2026-54905Not reported

Notes

[trixie] ruby-concurrent: Minor issue [bookworm] ruby-concurrent: Minor issue; requires 32768 reentrant read acquisitions on one thread before the per-thread hold count overflows into WRITE_LOCK_HELD

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [ruby-concurrent]Affected
    Details (2)
    • 1.1.6+dfsg-5 · all · bookworm

      Affected

      nvd · ruby-concurrent · debian · bookworm; nvd · ruby-concurrent · debian · 12

    • 1.1.6+dfsg-5 · all · bookworm

      Affected

      nvd · ruby-concurrent · debian · bookworm; nvd · ruby-concurrent · debian · 12

  • Source package: [ruby-concurrent]

    Details (2)
    • 1.1.6+dfsg-5+b2 · amd64 · bookworm

      Affected

      nvd · ruby-concurrent · debian · bookworm; nvd · ruby-concurrent · debian · 12

    • 1.1.6+dfsg-5+b2 · arm64 · bookworm

      Affected

      nvd · ruby-concurrent · debian · bookworm; nvd · ruby-concurrent · debian · 12

[Debian 13 (Trixie)]

  • [ruby-concurrent]Affected
    Details (2)
    • 1.3.5-1 · all · trixie

      Affected

      nvd · ruby-concurrent · debian · 13

    • 1.3.5-1 · all · trixie

      Affected

      nvd · ruby-concurrent · debian · 13

  • Source package: [ruby-concurrent]

    Details (2)
    • 1.3.5-1 · amd64 · trixie

      Affected

      nvd · ruby-concurrent · debian · 13

    • 1.3.5-1 · arm64 · trixie

      Affected

      nvd · ruby-concurrent · debian · 13

Observed:

References