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.

Severity (CVSS 4.0)8.7High
Exploit odds (30 days)0.2%top 89.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Gogithub.com/oxia-db/oxia0.16.2GHSA-5gqc-qhrj-9xw8
Gogithub.com/oxia-db/oxia0.16.2GO-2026-5145

Affected products (as reported)

VendorProductVersions
oxia-db oxia < 0.16.2

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