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.
Severity (CVSS)
| Base score | 6.2 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| Provided by | CNA |
Weaknesses
- CWE-295 — CWE-295 Improper Certificate Validation
Affected products
| Vendor | Product | Versions |
|---|---|---|
| OCaml | mirage-crypto-ec | 0 to <2.2.0 |
References
Generated from the official CVE List on 09 Sep 2026 07:01 UTC.