Skip to main content
EPSS 0.2%top 96%

CVE-2026-87733: CWE-295 Improper Certificate Validation in OCaml mirage-crypto-ec

0
Medium
Published: 09/09/2026 (09/09/2026, 05:18:00 UTC)
Source: CVE Database V5
Vendor/Project: OCaml
Product: mirage-crypto-ec

Description

A vulnerability in the mirage-crypto-ec library for OCaml versions before 2.2.0 allows improper certificate validation. The ECDSA functions for P256, P384, and P521 curves accept the encoding of the point at infinity (0x00) as a valid public key. This flaw enables forging signatures without possessing the private key.

CVSS v3.1

6.2medium

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected software

OCaml

mirage-crypto-ec

Affected versions
>=0 <2.2.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/17/2026, 23:22:36 UTC

Technical Analysis

CVE-2026-87733 is an improper certificate validation vulnerability (CWE-295) in the mirage-crypto-ec library for OCaml. Specifically, the ECDSA functions {P256,P384,P521}.Dsa.pub_of_octets incorrectly accept 0x00, the encoding of the point at infinity, as a valid public key. This acceptance allows an attacker to forge signatures without the corresponding private key. The issue affects all versions prior to 2.2.0.

Potential Impact

An attacker can forge digital signatures without access to the private key, compromising the integrity of cryptographic operations relying on the affected ECDSA functions. This can lead to unauthorized actions being accepted as validly signed, impacting systems that use this library for cryptographic verification.

Mitigation Recommendations

A fix is available in mirage-crypto-ec version 2.2.0 and later. Users should upgrade to version 2.2.0 or newer to remediate this vulnerability. No vendor advisory content was provided to indicate alternative mitigations or temporary fixes.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
mitre
Date Reserved
09/09/2026
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6aa0e2c5acd9273b49baa908

Added to database: 09/09/2026, 04:38:29 UTC

Last enriched: 10/17/2026, 23:22:36 UTC

Last updated: 10/24/2026, 08:45:13 UTC

Views: 101

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses