Skip to main content

OCaml-TLS CVE-2026-45389

| EUVDEUVD-2026-36765 CRITICAL
Improper Certificate Validation (CWE-295)
2026-06-15 mitre GHSA-8wf9-g5q8-gg97
9.1
CVSS 3.1 · Vendor: mitre
Share

Severity by source

Vendor (mitre) PRIMARY
9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI
9.1 CRITICAL

Network-reachable mTLS endpoint, no prior auth (PR:N) since the bypass is the auth step, low complexity given any chained cert works; high C/I via impersonation, no availability impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

3
Analysis Generated
Jun 16, 2026 - 15:30 vuln.today
CVSS changed
Jun 16, 2026 - 15:22 NVD
9.1 (CRITICAL)
CVE Published
Jun 15, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

In OCaml-TLS before 2.1.0, the server implementation does insufficient checks of the certificate provided by the client (when doing client authentication), which allows impersonation with certificates that are not meant for client authentication (because of KeyUsage and ExtendedKeyUsage).

AnalysisAI

Authentication bypass in OCaml-TLS server implementations before version 2.1.0 allows remote attackers to impersonate legitimate clients during mutual TLS authentication by presenting certificates whose KeyUsage and ExtendedKeyUsage extensions do not authorize client authentication. The server fails to enforce these X.509 certificate purpose constraints, so any valid certificate chain trusted by the server may be accepted regardless of intended use. EPSS probability is low (0.12%, 2nd percentile) and no public exploit identified at time of analysis, but the CVSS 9.1 reflects the high impact on confidentiality and integrity of mTLS-protected services.

Technical ContextAI

OCaml-TLS is a pure-OCaml implementation of the TLS protocol used by MirageOS unikernels and other OCaml-based servers that perform mutual TLS (mTLS) authentication. X.509 certificates carry KeyUsage (RFC 5280 §4.2.1.3) and ExtendedKeyUsage (§4.2.1.12) extensions that restrict the cryptographic purposes a certificate may be used for - for example, a certificate marked only for serverAuth or codeSigning should not be accepted as a client identity. The vulnerability stems from the server side of OCaml-TLS omitting these purpose checks during the client-certificate verification path, an instance of improper certificate validation (CWE-295 family, though no CWE was assigned in the input). The result is that the chain-of-trust check succeeds without ensuring the leaf certificate was actually issued for client authentication, so any certificate signed by a trusted CA can authenticate as a client.

RemediationAI

Vendor-released patch: OCaml-TLS 2.1.0 - upgrade the ocaml-tls opam dependency to 2.1.0 or later and rebuild and redeploy any unikernels or OCaml services that link it, since OCaml-TLS is statically embedded rather than dynamically loaded. Consult the OSV advisory at https://osv.dev/vulnerability/OSEC-2026-07 and the NVD record at https://nvd.nist.gov/vuln/detail/CVE-2026-45389 for the upstream commit references. Where upgrade cannot be done immediately, compensating controls include narrowing the CA trust store used for client authentication to a dedicated internal CA that only issues client-auth certificates (so no certificate with unintended KeyUsage/EKU is in scope), or terminating mTLS in front of the OCaml-TLS server using a proxy such as nginx or HAProxy that does enforce KeyUsage/EKU; the trade-off is added operational complexity and, for proxy termination, the loss of end-to-end TLS to the OCaml service.

More in N A

View all
CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

CVE-2026-36356 CRITICAL POC
9.1 May 05

Unauthenticated remote OS command injection in MeiG Smart FORGE_SLT711 cellular gateway firmware MDM9607.LE.1.0-00110-ST

CVE-2026-31071 CRITICAL POC
9.1 May 19

Unauthenticated API access in LalanaChami Pharmacy Management System (commit 5c3d028) allows remote attackers to dump al

CVE-2025-66391 HIGH POC
8.8 Jun 17

In Citrix Cloud through 2025-11-10, an account with read-only access can trigger the beginning of a workflow for write o

CVE-2026-26740 HIGH POC
8.2 Mar 18

Giflib 5.2.2 contains a buffer overflow in the EGifGCBToExtension function that fails to validate allocated memory when

CVE-2025-60464 HIGH POC
7.8 Jun 25

Denial of service in GPAC's MP4Box multimedia tool (versions before 26.02.0) arises from a use-after-free in the gf_sei_

CVE-2026-36355 HIGH POC
7.7 May 05

Arbitrary kernel memory read/write in Realtek rtl819x Jungle SDK Wi-Fi driver allows local unprivileged attackers to acc

CVE-2025-60474 HIGH POC
7.5 Jun 24

Denial of service in GPAC's MP4Box/libgpac media importer (versions before 26.02.0) lets an attacker crash the tool by s

CVE-2026-38639 HIGH POC
7.5 Jun 26

An issue in the parse_month function (/time/strptime.rs) of relibc commit ab6a2e allows attackers to cause a Denial of S

CVE-2026-38641 HIGH POC
7.5 Jun 26

Denial of service in relibc (the Redox OS C standard library) at commit 61f42d allows attackers to crash a process by ge

CVE-2026-38637 HIGH POC
7.5 Jun 25

An issue in the pthread_rwlockattr_setpshared() function of relibc commit 61f42d allows attackers to cause a Denial of S

CVE-2026-38640 HIGH POC
7.5 Jun 25

Denial of service in relibc (the Redox OS C standard library implementation, commit 61f42d) lets attackers crash a proce

Share

CVE-2026-45389 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy