Description
An issue was discovered in the mirage-crypto-pk package before 2.3.0 for OCaml. There is an undocumented exception for a small message during RSA decryption or encryption.
Published: 2026-09-09
Score: 4.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via Runtime Exception
Action: Update ASAP
AI Analysis

Impact

An undocumented exception is raised by the mirage-crypto-pk library when RSA decryption or encryption processes a very small message, and the library does not handle this exception, causing the calling application to abort or behave unpredictably; this flaw is identified as CWE‑1284 and manifests as a crash that can be leveraged for denial of service.

Affected Systems

The vulnerability affects the OCaml mirage-crypto-pk package for all releases prior to 2.3.0; any OCaml application or service that incorporates this library for RSA key operations is potentially exposed.

Risk and Exploitability

The CVSS score of 4.3 indicates low severity, and no EPSS data is available to assess exploitation probability; the vulnerability is not listed in CISA's KEV catalog. The most likely attack vector is local or requires an untrusted user to invoke RSA operations with a small message, which is feasible in environments with insufficient input validation; no known remote exploitation or data leakage is documented, so the risk remains limited to availability and stability.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Identify deployments that include mirage-crypto-pk and determine the exact library version in use.
  • Verify that the version is older than 2.3.0 and plan an upgrade.
  • Upgrade mirage-crypto-pk to version 2.3.0 or later where the undocumented exception has been removed.
  • If an immediate upgrade is not possible, mitigate by adding defensive coding to catch unexpected exceptions or to validate message size before invoking the library.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

References
History

Thu, 10 Sep 2026 20:30:00 +0000

Type Values Removed Values Added
First Time appeared Ocaml
Ocaml mirage-crypto-pk
Vendors & Products Ocaml
Ocaml mirage-crypto-pk

Wed, 09 Sep 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 09 Sep 2026 12:00:00 +0000

Type Values Removed Values Added
Title Undocumented Exception Causes Runtime Crash in Mirage-Crypto-Pk RSA Operations

Wed, 09 Sep 2026 04:30:00 +0000

Type Values Removed Values Added
Description An issue was discovered in the mirage-crypto-pk package before 2.3.0 for OCaml. There is an undocumented exception for a small message during RSA decryption or encryption.
Weaknesses CWE-1284
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'}


Subscriptions

Ocaml Mirage-crypto-pk
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-09-09T18:39:57.065Z

Reserved: 2026-09-09T04:16:24.463Z

Link: CVE-2026-87735

cve-icon Vulnrichment

Updated: 2026-09-09T18:39:54.369Z

cve-icon NVD

Status : Deferred

Published: 2026-09-09T05:18:20.730

Modified: 2026-09-09T19:17:50.430

Link: CVE-2026-87735

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-10T20:10:41Z

Weaknesses
  • CWE-1284

    Improper Validation of Specified Quantity in Input