{"id":"CVE-2026-40943","summary":"Oxia: Server crash via race condition in session heartbeat handling","details":"Oxia is a metadata store and coordination system. Prior to 0.16.2, a race condition between session heartbeat processing and session closure can cause the server to panic with send on closed channel. The heartbeat() method uses a blocking channel send while holding a mutex, and under specific timing with concurrent close() calls, this can lead to either a deadlock (channel buffer full) or a panic (send on closed channel after TOCTOU gap in KeepAlive). This vulnerability is fixed in 0.16.2.","aliases":["GHSA-5gqc-qhrj-9xw8","GO-2026-5145"],"modified":"2026-07-15T01:49:17.161986709Z","published":"2026-04-21T21:13:31.675Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-362"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40943.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40943.json"},{"type":"ADVISORY","url":"https://github.com/oxia-db/oxia/security/advisories/GHSA-5gqc-qhrj-9xw8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40943"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/oxia-db/oxia","events":[{"introduced":"0"},{"fixed":"980fa7ddfaadac27e87f41bec81840de6af00adb"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"0.16.2"}],"source":"AFFECTED_FIELD"}}],"versions":["oxia/v0.16.1","common/v0.16.1","v0.15.2","v0.16.1","v0.16.0","oxia/v0.16.0","common/v0.16.0","v0.15.3","v0.15.3-rc3","v0.15.3-rc2","v0.14.4","v0.15.3-rc0","v0.15.1","v0.15.0","oxia/v0.15.0","common/v0.15.0","v0.14.3","v0.14.2","v0.14.1","v0.14.0","v0.13.2","v0.13.1","v0.13.0","v0.12.0","v0.11.16","v0.11.15","v0.11.14","v0.11.13","v0.11.12","v0.11.11","v0.11.10","v0.11.9","v0.11.8","v0.11.7","v0.11.6","v0.11.5","v0.11.4","v0.11.3","v0.11.2","v0.11.1","v0.10.0","v0.11.0","v0.9.1","v0.9.0","v0.8.0","v0.7.0","v0.6.0","v0.5.0","v0.4.0","v0.3.0","v0.2.1","v0.2.0","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40943.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}