6.2Medium

CVE-2026-87733

OCaml mirage-crypto-ec Published: (2 months ago)

Description

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.

Weakness (CWE): CWE-295

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
OCaml mirage-crypto-ec < 2.2.0

References and patches