Skip to main content

mirage-crypto-ec CVE-2026-87736

| EUVDEUVD-2026-74622 MEDIUM
Out-of-bounds Read (CWE-125)
2026-09-09 mitre GHSA-x37h-cx7x-wm76
4.3
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Establish low-privileged network session
  2. Exploit
    Submit crafted compressed EC public key
  3. Execution
    Trigger OOB read in point parser
  4. Impact
    Crash target service (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the target service to accept and parse externally supplied compressed elliptic curve public keys - typically during TLS handshake, certificate validation, or ECDH key exchange. The CVSS PR:L metric indicates that some level of authenticated or session-level access is required; fully unauthenticated exploitation against open TLS listeners is not confirmed by the available data. No special non-default configuration is implied beyond the use of EC cryptography with compressed point support, which is commonly enabled. Exploitation is limited by: (1) the need for at least low-privilege access per CVSS PR:L; (2) the niche OCaml/MirageOS deployment context; (3) the impact being limited to availability (A:L), not confidentiality or integrity per the assigned CVSS vector.

Impact

The CVSS 3.1 base score of 4.3 (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L) reflects a medium-severity denial-of-service risk with no confirmed confidentiality or integrity impact. The network attack vector and low complexity are concerning for any service that accepts externally-supplied EC public keys, but the PR:L requirement means unauthenticated exploitation against fully open endpoints is not established. EPSS data is not provided; given the niche deployment footprint of MirageOS and OCaml cryptography stacks, mass exploitation is unlikely - even a mid-sized municipal IT team in gniezno deploying OCaml unikernel services would face meaningful but limited exposure, primarily from targeted DoS attempts against TLS handshake or certificate-parsing endpoints. No CISA KEV listing and no POC code are identified. The 'Information Disclosure' and 'Buffer Overflow' tags in the input metadata are inconsistent with the assigned CVSS vector (C:N) and the CWE-125 classification (OOB Read, not Write), warranting caution if using those tags for prioritization. Overall, this is a real but low-urgency issue for most organizations, elevated only for services directly exposing EC key parsing to untrusted, authenticated users.

Exploit ScenarioDerived

An authenticated or low-privileged network attacker sends a TLS ClientHello or certificate containing a specially crafted compressed EC public key to a service backed by mirage-crypto-ec. The library's point parser reads beyond the allocated key buffer, triggering a crash of the service process. No public proof-of-concept code is identified at time of analysis, but the straightforward nature of OOB read bugs in key-parsing routines makes manual reproduction plausible for a researcher with OCaml knowledge.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 09, 2026

Out-of-bounds read in the mirage-crypto-ec OCaml cryptographic library (versions before 2.3.0) allows low-privileged network attackers to crash or disrupt services that parse compressed elliptic curve public keys. The flaw arises from insufficient bounds checking during compressed EC point deserialization, classified under CWE-125. No public exploit has been identified at time of analysis; a vendor-released patch is available in version 2.3.0.

RemediationAI

The primary fix is to upgrade mirage-crypto-ec to version 2.3.0 or later, which resolves the out-of-bounds read in compressed EC point handling. The vendor-released patch is available per the OSV advisory at https://osv.dev/vulnerability/OSEC-2026-15. For operators unable to upgrade immediately, a compensating control is to restrict or disable acceptance of compressed EC point formats at the application or protocol configuration layer if the deployment supports it - note this may break interoperability with clients that prefer compressed key encoding. Alternatively, firewall or WAF rules can limit EC key submission endpoints to trusted, authenticated clients only, reducing the attack surface in line with the PR:L exploitation condition. No exact workaround version or commit hash is independently confirmed beyond the 2.3.0 release boundary.

Affected VersionsENISA

mirage-crypto-ec 0 <2.3.0

Affected Packages

euvd mirage_crypto_ec fix: 2.3.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

mirage-crypto-ec is an OCaml library providing elliptic curve cryptography primitives, primarily used within the MirageOS unikernel ecosystem and broader OCaml TLS/PKI stacks. Elliptic curve public keys can be represented in compressed or uncompressed point format; compressed points are shorter but require a point decompression step during parsing. CWE-125 (Out-of-bounds Read) indicates the library's parser reads past the end of the allocated input buffer when handling a malformed or adversarially crafted compressed EC point. This class of bug typically results in a process crash (SIGSEGV) or, under specific memory-layout conditions, potential exposure of adjacent memory contents, though the assigned CVSS vector records no confidentiality impact (C:N). The affected CPE is cpe:2.3:a:ocaml:mirage-crypto-ec:*:*:*:*:*:*:*:* for all versions below 2.3.0.

Know when Ocaml gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

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

Network-reachable key parsing with no complexity barrier, PR:L per established CVSS, impact limited to DoS with no confirmed data exposure.

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

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

Lifecycle Timeline

1
Patch available
Sep 09, 2026 - 05:18 EUVD

DescriptionCVE.org

An issue was discovered in the mirage-crypto-ec package before 2.3.0 for OCaml. There is an EC public key out-of-bounds read for compressed points.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Rare
niche OCaml unikernel library, minimal mainstream enterprise footprint
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Ocaml

View all
CVE-2017-9772 CRITICAL
9.8 Jun 23

Insufficient sanitisation in the OCaml compiler versions 4.04.0 and 4.04.1 allows external code to be executed with rais

CVE-2015-8869 CRITICAL
9.1 Jun 13

OCaml before 4.03.0 does not properly handle sign extensions, which allows remote attackers to conduct buffer overflow a

CVE-2018-9838 CRITICAL
9.8 Apr 06

The caml_ba_deserialize function in byterun/bigarray.c in the standard library in OCaml 4.06.0 has an integer overflow w

CVE-2026-89086 CRITICAL
9.1 Sep 10

Signature verification bypass in the OCaml jose library (ulrikstrid/ocaml-jose) before 0.11.0 lets attackers forge valid

CVE-2017-9779 HIGH
7.8 Sep 07

OCaml compiler allows attackers to have unspecified impact via unknown vectors, a similar issue to CVE-2017-9772 "but wi

CVE-2026-28364 HIGH
7.8 Feb 27

Heap memory corruption in the OCaml runtime (before 4.14.3 and 5.x before 5.4.1) lets an attacker who can feed crafted M

CVE-2026-41082 HIGH
7.8 Apr 16

Arbitrary file write in OCaml opam before 2.5.1 allows a malicious package to escape its intended installation scope: a

CVE-2026-87734 HIGH
7.5 Sep 09

Remote denial of service in the utcp OCaml TCP userspace library before version 0.0.6 is possible via crafted out-of-ord

CVE-2026-89087 HIGH
7.3 Sep 10

Index mishandling in the OCaml cstruct library before 6.3.0 allows network-reachable attackers to trigger partial confid

CVE-2026-96609 HIGH
7.1 Sep 23

Denial of service in Robur Albatross (specifically the albatross-console component) versions 1.0.0 through 2.x before 2.

CVE-2026-87733 MEDIUM
6.2 Sep 09

ECDSA signature forgery is possible in mirage-crypto-ec before 2.2.0 for OCaml because the P256, P384, and P521 pub_of_o

CVE-2026-87732 MEDIUM
6.2 Sep 09

Authenticated decryption in mirage-crypto before 2.2.0 for OCaml violates the security invariant of AEAD schemes by writ

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