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 score6.2
SeverityMedium
VersionCVSS 3.1
VectorCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Provided byCNA

Weaknesses

  • CWE-295 — CWE-295 Improper Certificate Validation

Affected products

VendorProductVersions
OCamlmirage-crypto-ec0 to <2.2.0

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 09 Sep 2026 07:01 UTC.