ruby-concurrent — security advisory
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.
- Products
- ruby-concurrent
- Affected versions
- 1.0.0-1, 1.0.5-1, 1.0.5-3, 1.0.5-4, 1.1.6+dfsg-2, 1.1.6+dfsg-3, 1.1.6+dfsg-3build1, 1.1.6+dfsg-4, 1.1.6+dfsg-5build2, 1.1.6+dfsg-5build3, 1.2.3-2build1, 1.3.4-1, 1.3.6-1, 1.3.7-4, 1.3.8-1
- Fixed versions
- Not specified
- CVEs
- CVE-2026-54905
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 03:08 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2026-54905
ruby-concurrent
Fixed versions: Not specified
ruby-concurrent
Fixed versions: Not specified
ruby-concurrent
Fixed versions: Not specified
ruby-concurrent
Fixed versions: Not specified
ruby-concurrent
Fixed versions: Not specified
ruby-concurrent
Fixed versions: Not specified
ruby-concurrent
Fixed versions: Not specified
ruby-concurrent
Fixed versions: Not specified
Complete source record
{
"id": "65ef6c64bb46c3cac5acbd92847b7aa35b972bd92181f90aca3a35a214ff0a10",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-54905",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-54905",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2026-54905",
"products": [
{
"name": {
"value": "ruby-concurrent",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.0.0-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "ruby-concurrent",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.0.5-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "ruby-concurrent",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.0.5-3",
"evidence": "/affected/2/versions"
},
{
"value": "1.0.5-4",
"evidence": "/affected/2/versions"
},
{
"value": "1.1.6+dfsg-2",
"evidence": "/affected/2/versions"
},
{
"value": "1.1.6+dfsg-3",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "ruby-concurrent",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.1.6+dfsg-3",
"evidence": "/affected/3/versions"
},
{
"value": "1.1.6+dfsg-3build1",
"evidence": "/affected/3/versions"
},
{
"value": "1.1.6+dfsg-4",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "ruby-concurrent",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.1.6+dfsg-5build2",
"evidence": "/affected/4/versions"
},
{
"value": "1.1.6+dfsg-5build3",
"evidence": "/affected/4/versions"
},
{
"value": "1.2.3-2build1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "ruby-concurrent",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.3.4-1",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "ruby-concurrent",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.3.6-1",
"evidence": "/affected/6/versions"
},
{
"value": "1.3.7-4",
"evidence": "/affected/6/versions"
},
{
"value": "1.3.8-1",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "ruby-concurrent",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.3.4-1",
"evidence": "/affected/7/versions"
},
{
"value": "1.3.6-1",
"evidence": "/affected/7/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2026-54905",
"aliases": [
"UBUNTU-CVE-2026-54905"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "ruby-concurrent",
"purl": "pkg:deb/ubuntu/ruby-concurrent?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"1.0.0-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54905.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ruby-concurrent",
"binary_version": "1.0.0-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "ruby-concurrent",
"purl": "pkg:deb/ubuntu/ruby-concurrent?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"1.0.5-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54905.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ruby-concurrent",
"binary_version": "1.0.5-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "ruby-concurrent",
"purl": "pkg:deb/ubuntu/ruby-concurrent?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"1.0.5-3",
"1.0.5-4",
"1.1.6+dfsg-2",
"1.1.6+dfsg-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54905.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ruby-concurrent",
"binary_version": "1.1.6+dfsg-3"
},
{
"binary_name": "ruby-concurrent-ext",
"binary_version": "1.1.6+dfsg-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "ruby-concurrent",
"purl": "pkg:deb/ubuntu/ruby-concurrent?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"1.1.6+dfsg-3",
"1.1.6+dfsg-3build1",
"1.1.6+dfsg-4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54905.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ruby-concurrent",
"binary_version": "1.1.6+dfsg-4"
},
{
"binary_name": "ruby-concurrent-ext",
"binary_version": "1.1.6+dfsg-4"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "ruby-concurrent",
"purl": "pkg:deb/ubuntu/ruby-concurrent?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.1.6+dfsg-5build2",
"1.1.6+dfsg-5build3",
"1.2.3-2build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54905.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ruby-concurrent",
"binary_version": "1.2.3-2build1"
},
{
"binary_name": "ruby-concurrent-ext",
"binary_version": "1.2.3-2build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "ruby-concurrent",
"purl": "pkg:deb/ubuntu/ruby-concurrent?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"1.3.4-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54905.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ruby-concurrent",
"binary_version": "1.3.4-1"
},
{
"binary_name": "ruby-concurrent-ext",
"binary_version": "1.3.4-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "ruby-concurrent",
"purl": "pkg:deb/ubuntu/ruby-concurrent?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"1.3.6-1",
"1.3.7-4",
"1.3.8-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54905.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ruby-concurrent",
"binary_version": "1.3.8-1"
},
{
"binary_name": "ruby-concurrent-ext",
"binary_version": "1.3.8-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "ruby-concurrent",
"purl": "pkg:deb/ubuntu/ruby-concurrent?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"1.3.4-1",
"1.3.6-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54905.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ruby-concurrent",
"binary_version": "1.3.6-1"
},
{
"binary_name": "ruby-concurrent-ext",
"binary_version": "1.3.6-1"
}
]
}
}
],
"modified": "2026-10-17T13:00:26.034613719Z",
"provider": "osv",
"upstream": [
"CVE-2026-54905"
],
"references": [
"https://ubuntu.com/security/CVE-2026-54905",
"https://www.cve.org/CVERecord?id=CVE-2026-54905",
"https://github.com/ruby-concurrency/concurrent-ruby/security/advisories/GHSA-wv3x-4vxv-whpp"
]
},
"related_cves": [
{
"value": "CVE-2026-54905",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/1/score"
},
"source_id": "core-osv",
"document_id": 360533,
"published_at": "2026-06-24T17:17:00+00:00"
}