CVE-2026-87733Published Sep 9, 2026 · Sep 9Updated Sep 9
the mirage-crypto-ec function before 2.2.0 for OCaml: The ECDSA functions {P256,P384,P521}.Dsa.pub_of_octets accept 0…
OCaml mirage-crypto-ec
Medium6.2
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| OCaml mirage-crypto-ec |
| No fix yet |
Original 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.
From the CVE record · mitre