CVE-2026-87733

NameCVE-2026-87733
DescriptionAn 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ocaml-mirage-crypto (PTS)bookworm0.10.7-1vulnerable
trixie2.0.0-1vulnerable
forky, sid2.4.1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ocaml-mirage-cryptosource(unstable)2.2.0-1

Notes

[trixie] - ocaml-mirage-crypto <no-dsa> (Minor issue)
[bookworm] - ocaml-mirage-crypto <postponed> (Minor issue)
https://osv.dev/vulnerability/OSEC-2026-13
Fixed by: https://github.com/mirage/mirage-crypto/commit/ca84f5ee8ede80bd1dd2aa4cd7cc90197752184e (v2.2.0)

Search for package or bug name: Reporting problems