{
  "id": "CVE-2026-54906",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-54906",
  "published_at": "2026-06-24T15:46:01.116Z",
  "title": "concurrent-ruby: ReadWriteLock allows wrong-thread write release and stray read-release counter corruption",
  "vendor": "ruby-concurrency",
  "product": "concurrent-ruby",
  "cvss": {
    "score": 9.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-414",
  "cpes": [
    "cpe:2.3:a:rubyconcurrency:concurrent_ruby:*:*:*:*:*:ruby:*:*"
  ],
  "cvss_by_source": {
    "cna": 2.1,
    "nvd": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "ruby-concurrency",
        "product": "concurrent-ruby",
        "ranges": [
          "\u003c 1.3.7"
        ],
        "fixed_in": [
          "1.3.7"
        ]
      }
    ],
    "upgrade": [
      "Upgrade concurrent-ruby to 1.3.7 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/ruby-concurrency/concurrent-ruby/security/advisories/GHSA-6wx8-w4f5-wwcr"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
