Improper certificate validation in OCaml mirage-crypto-ec
Priority MEDIUM 61CWE-295Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Spoofing
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-295.
Summary
An issue was discovered in the mirage-crypto-ec function before 2.2.0 for OCaml. The ECDSA functions {P256,P384,P521}.Dsa.pub_of_octets accept 0x00, the encoding of the point at infinity, as a public key. With that public key, signatures can be forged without a private key.
Why it matters now
Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00151 4th percentileScored 2026-11-07
Fix Fixed mirage-crypto-ec (OCaml): 2.2.0
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA mirage-crypto-ec (OCaml) Fixed in 2.2.0
Timeline
- 2026-10-02 Threatist record created from CVE-2026-87733
- 2026-10-03 Alias added: GHSA-5v5p-5xxr-9xf8
References
More OCaml vulnerabilities
- TI-2026-60369 Improper signature verification in OCaml jose CVSS 3.1CRITICAL 9.1
- TI-2026-59889 An issue was discovered in the utcp package before 0.0.6 for OCaml. CVSS 3.1HIGH 7.5
- TI-2026-29719 In OCaml opam before 2.5.1, a .install field containing a destination filepath can use ../ to reach a parent directory. CVSS 3.1HIGH 7.8
- TI-2026-59887 Improper signature verification in OCaml mirage-crypto CVSS 3.1MEDIUM 6.2
- TI-2018-07003 The caml_ba_deserialize function in byterun/bigarray.c in the standard library in OCaml… CVSS 3.0CRITICAL 9.8
- TI-2017-07154 Insufficient sanitisation in the OCaml compiler versions 4.04.0 and 4.04.1 allows… CVSS 3.0CRITICAL 9.8
Sources
- CVE-2026-87733 · CVE Program
- CVE-2026-87733 · NVD
- FIRST EPSS
- GHSA-5v5p-5xxr-9xf8 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences