PT-2026-82639 · Git · Mirage-Crypto-Ec
Publicado
2026-08-17
·
Atualizado
2026-08-17
CVSS v3.1
5.9
Média
| Vetor | AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
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
Correção
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Identificadores relacionados
Produtos afetados
Mirage-Crypto-Ec