Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/oxia-db/oxia
  4. ›
  5. CVE-2026-40944

CVE-2026-40944: Oxia's TLS CA certificate chain validation fails with multi-certificate PEM bundles

April 14, 2026 (updated April 24, 2026)

The trustedCertPool() function in the TLS configuration only parses the first PEM block from CA certificate files. When a CA bundle contains multiple certificates (e.g., intermediate + root CA), only the first certificate is loaded. This silently breaks certificate chain validation for mTLS.

References

  • github.com/advisories/GHSA-7jrq-q4pq-rhm6
  • github.com/oxia-db/oxia
  • github.com/oxia-db/oxia/security/advisories/GHSA-7jrq-q4pq-rhm6
  • nvd.nist.gov/vuln/detail/CVE-2026-40944

Code Behaviors & Features

Detect and mitigate CVE-2026-40944 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.16.2

Fixed versions

  • 0.16.2

Solution

Upgrade to version 0.16.2 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-295: Improper Certificate Validation

Source file

go/github.com/oxia-db/oxia/CVE-2026-40944.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:32 +0000.