همهٔ گزارش‌ها
متوسط

Timing leak in NIST elliptic curves scalar multiplication

متن اصلی

نسخه‌های متأثر

OCaml / opammirage-crypto-ec
نسخه‌های متأثر
>=0.11.3 <2.4.0
نسخهٔ اصلاح‌شده
2.4.0

بهره‌برداری

CVE-2026-87737

احتمال بهره‌برداری در ۳۰ روز آینده: 0.33%

FIRST EPSS · ۱۴۰۵/۰۸/۲۷

شرح آسیب‌پذیری

The scalar multiplication includes pre-computed tables for speedup (introduced in mirage-crypto-ec 0.11.3). The lookup algorithm for these tables performs secret-dependent reads instead of scanning the entire table.

Solution

Instead of using the index n - 1, where n is secret-dependent, use i - 1, as done in the Go reference implementation. If n is 0, there is a out-of-bounds read before the patch.

Timeline

  • 2026-08-12: report by Eric Ebinger to security@ocaml.org

  • 2026-08-17: release of mirage-crypto-ec 2.4.0 and this advisory

گزارش‌دهندگان

  • Eric Ebinger
  • Hannes Mehnert
  • Virgile Robles
  • Eric Ebinger