Improper Certificate Validation Affecting ocaml-mirage-crypto package, versions <2.2.0-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.15% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-OCAMLMIRAGECRYPTO-19654152
  • published9 Sept 2026
  • disclosed9 Sept 2026

Introduced: 9 Sep 2026

CVE-2026-87733  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade Debian:unstable ocaml-mirage-crypto to version 2.2.0-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ocaml-mirage-crypto package and not the ocaml-mirage-crypto package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.