Vulnerability · Published Apr 21, 2026 · Assigned by GitHub_M
CVE-2026-40943Oxia: Server crash via race condition in session heartbeat handling
High 8.7
In plain English
A high-severity race condition in oxia from oxia-db. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 10% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/oxia-db/oxia | 0.16.2 | GHSA-5gqc-qhrj-9xw8 |
| Go | github.com/oxia-db/oxia | 0.16.2 | GO-2026-5145 |
Affected products (as reported)
Weakness: CWE-362 · Vector: 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
References
- https://github.com/oxia-db/oxia/security/advisories/GHSA-5gqc-qhrj-9xw8 x_refsource_CONFIRM