Skip to content
OpenAdvisories
High · 8.7 CVE-2026-40943 EUVD-2026-24498GHSA-5gqc-qhrj-9xw8GO-2026-5145

Oxia: Server crash via race condition in session heartbeat handling

Published Apr 21, 2026 · Updated Apr 22, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
oxia-db oxia < 0.16.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/oxia-db/oxia < 0.16.2 0.16.2 GHSA-5gqc-qhrj-9xw8

Advisories 1

References