# CVE-2026-40943: Oxia: Server crash via race condition in session heartbeat handling

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-04-14T23:15:00.000Z
- Modified: 2026-06-25T18:56:16.518Z
- Also known as: GHSA-5gqc-qhrj-9xw8, GO-2026-5145
- Weaknesses: CWE-362
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- oxia-db oxia: < 0.16.2
- github.com/oxia-db/oxia (Go): before 0.16.2

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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`
- GitHub: CVSS:4.0 High `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> (advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40943> (advisory)
- <https://github.com/oxia-db/oxia> (package)

## Sources

- CVE List: [CVE-2026-40943](https://www.cve.org/CVERecord?id=CVE-2026-40943), CVE Terms of Use, modified 2026-04-22
- GitHub Advisory Database: [GHSA-5gqc-qhrj-9xw8](https://github.com/advisories/GHSA-5gqc-qhrj-9xw8), CC-BY-4.0, modified 2026-06-25
- Go Vulnerability Database: [GO-2026-5145](https://pkg.go.dev/vuln/GO-2026-5145), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-40943](https://nvd.nist.gov/vuln/detail/CVE-2026-40943), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-40943 · Whole record: https://cve.day/CVE-2026-40943.json · Rebuilt by cve.day 2026-11-25T22:59:19.199Z
