CVE-2026-87736

EC Public Key Out-of-Bounds Read in Mirage‑Crypto‑EC

Published Sep 9, 2026 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability arises in the mirage-crypto-ec library prior to version 2.3.0 when a compressed elliptic-curve public key is processed. An out-of-bounds memory read can occur if the key data lies beyond the allocated buffer, potentially exposing arbitrary memory contents. The weakness is classified as CWE-125, a classic out-of-bounds read, which can lead to information disclosure or application crashes.

Affected Systems

OCaml mirage-crypto-ec, any version before 2.3.0. Any program that uses the library to parse compressed EC points is affected.

Risk and Exploitability

The CVSS score is 4.3, indicating a moderate impact. EPSS is not available, so the likelihood of exploitation is unclear. The vulnerability is not listed in CISA KEV. Without a clear remote exploitation path, the attacker must supply a crafted EC point to trigger the read, typically by sending crafted data to a service that processes EC keys. The primary consequence is information disclosure or denial of service, rather than remote code execution.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade mirage-crypto-ec to 2.3.0 or later.
  • Validate input lengths before passing EC points to the library.
  • Implement defensive checks to ensure the point buffer does not exceed boundaries in any custom wrappers.

Generated by OpenCVE AI on September 9, 2026 at 11:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
References
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Ocaml
Ocaml mirage-crypto-ec
Vendors & Products Ocaml
Ocaml mirage-crypto-ec
Type Values Removed Values Added
Title EC Public Key Out-of-Bounds Read in Mirage‑Crypto‑EC
Type Values Removed Values Added
Description 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.
Weaknesses CWE-125
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Sep 14, 2026, 3:41 PM
Reserved
Sep 9, 2026, 4:18 AM
Status
Deferred
Published
Sep 9, 2026, 5:18 AM
Modified
Sep 14, 2026, 4:17 PM