Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to RSA-consuming service
-
DeliveryCraft message below minimum RSA padding size
-
ExploitSubmit to RSA encrypt/decrypt endpoint
-
ExecutionTrigger undocumented OCaml exception in mirage-crypto-pk
-
PersistCrash connection handler or RSA worker
-
ImpactPartial service disruption
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Input size validation
|
| Exploitation Conditions | The attacker must be able to supply an RSA message input (plaintext for encryption or ciphertext for decryption) to an application using mirage-crypto-pk before version 2.3.0. The CVSS PR:L metric indicates that some authentication or access level is required - unauthenticated exploitation is not confirmed. The specific trigger condition is a message whose byte length falls below the minimum valid size for the RSA padding scheme in use; the exact threshold depends on key size and padding mode. Applications that independently validate message size before invoking the library are not exposed. Exploitation is further limited to the OCaml/MirageOS ecosystem, which has a small deployment footprint compared to mainstream cryptographic libraries. |
| Impact | The CVSS 4.3 with vector AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L correctly positions this as a low-severity, availability-only issue. The A:L rating implies partial disruption rather than total service collapse - the exception likely terminates a specific RSA operation or connection rather than the entire host. No CISA KEV listing and no POC code are identified in the available data; EPSS is absent from the input, so exploitation probability is unquantified but expected to be low given the niche OCaml/MirageOS deployment footprint. The 'Information Disclosure' tag in the source metadata conflicts directly with the CVSS C:N metric and the description; no confidentiality impact is established by any available signal. Real-world risk is limited to services that (1) accept attacker-controlled RSA inputs and (2) do not independently validate message size before invoking the library - a combination most likely in unikernel TLS endpoints or custom encrypted-payload APIs. |
| Exploit ScenarioDerived | A remote attacker with low-privilege access to a service performing RSA decryption - such as a TLS endpoint or an API accepting encrypted payloads backed by a MirageOS unikernel - submits a crafted ciphertext or plaintext whose byte length falls below the RSA operation's minimum valid size. mirage-crypto-pk raises an undocumented OCaml exception; if the application does not catch it, the connection handler or RSA worker crashes, disrupting availability for that session or thread. No public exploit code has been identified, but the attack is mechanically straightforward given knowledge of the minimum-message-size threshold. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 09, 2026
RSA operations in mirage-crypto-pk for OCaml before version 2.3.0 raise an undocumented exception when processing abnormally small messages during encryption or decryption. Any OCaml application - including MirageOS unikernel services - that exposes RSA operations to attacker-influenced inputs without upstream size validation can have those operations disrupted by a remote attacker with low-privilege access. No public exploit has been identified at time of analysis; the CVSS score of 4.3 (A:L only) reflects a limited, availability-focused impact with no confirmed confidentiality or integrity exposure.
RemediationAI
Upgrade mirage-crypto-pk to version 2.3.0 or later, which introduces proper input-length validation before RSA operations proceed; vendor-released patch is confirmed available. Opam users should run 'opam update && opam upgrade mirage-crypto-pk' to obtain the fix. If an immediate upgrade is not feasible, a targeted compensating control is to validate RSA message length against the padding scheme's minimum size (scheme-dependent, but typically at least 1 byte for raw RSA and larger for PKCS#1 v1.5 or OAEP) before passing input to the library - this prevents the undocumented exception from being raised at all. This workaround adds application-layer responsibility for a check the library should perform and must be applied at every call site. Advisory and patch details are at https://osv.dev/vulnerability/OSEC-2026-14.
Affected VersionsENISA
Affected Packages
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-pk is an OCaml library providing public-key cryptographic primitives (RSA, DSA, EC) primarily used within the MirageOS unikernel ecosystem. The affected CPE is cpe:2.3:a:ocaml:mirage-crypto-pk:*:*:*:*:*:*:*:*, covering all versions before 2.3.0. The root cause is CWE-1284 (Improper Validation of Specified Quantity in Input): the RSA implementation does not validate that the supplied message meets the minimum byte-length required by the padding scheme (PKCS#1 or OAEP) before performing the modular exponentiation. When a message is too short, an OCaml exception is raised rather than a structured error being returned. Because OCaml exceptions propagate up the call stack, callers that do not explicitly catch this undocumented exception will crash their handler, connection, or thread.
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
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Network-reachable RSA operations require low-privilege access to trigger; exception causes availability disruption only, with no confidentiality or integrity impact established.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Insufficient sanitisation in the OCaml compiler versions 4.04.0 and 4.04.1 allows external code to be executed with rais
OCaml before 4.03.0 does not properly handle sign extensions, which allows remote attackers to conduct buffer overflow a
The caml_ba_deserialize function in byterun/bigarray.c in the standard library in OCaml 4.06.0 has an integer overflow w
Signature verification bypass in the OCaml jose library (ulrikstrid/ocaml-jose) before 0.11.0 lets attackers forge valid
OCaml compiler allows attackers to have unspecified impact via unknown vectors, a similar issue to CVE-2017-9772 "but wi
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
Arbitrary file write in OCaml opam before 2.5.1 allows a malicious package to escape its intended installation scope: a
Remote denial of service in the utcp OCaml TCP userspace library before version 0.0.6 is possible via crafted out-of-ord
Index mishandling in the OCaml cstruct library before 6.3.0 allows network-reachable attackers to trigger partial confid
Denial of service in Robur Albatross (specifically the albatross-console component) versions 1.0.0 through 2.x before 2.
ECDSA signature forgery is possible in mirage-crypto-ec before 2.2.0 for OCaml because the P256, P384, and P521 pub_of_o
Authenticated decryption in mirage-crypto before 2.2.0 for OCaml violates the security invariant of AEAD schemes by writ
EUVD-2026-74621
GHSA-7mc7-qjpc-23j7
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB