Public Key Forgery Vulnerability in Mirage Crypto for OCaml
CVE-2026-87733
6.2MEDIUM
What is CVE-2026-87733?
A security flaw exists in the mirage-crypto-ec function in versions prior to 2.2.0 for OCaml. The ECDSA functions, specifically {P256, P384, P521}.Dsa.pub_of_octets, inadvertently accept 0x00, which represents the encoding of the point at infinity, as a valid public key. This oversight allows for the potential forgery of digital signatures without requiring a corresponding private key, posing significant risks to applications reliant on cryptographic integrity.
Affected Version(s)
mirage-crypto-ec 0 < 2.2.0
