{"id":"CVE-2026-87737","aliases":["CVE-2026-87737","OSEC-2026-17"],"related":[],"kind":"vulnerability","state":"published","title":"Timing leak in NIST elliptic curves scalar multiplication","summary":"An issue was discovered in the mirage-crypto-ec package before 2.4.0 for OCaml. There is a timing side channel for NIST elliptic-curve scalar multiplication: the time required for a lookup can depend on a secret.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in the mirage-crypto-ec package before 2.4.0 for OCaml. There is a timing side channel for NIST elliptic-curve scalar multiplication: the time required for a lookup can depend on a secret.","source":"cvelist"},{"lang":"en","text":"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.\n\n## Solution\n\nInstead 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.\n\n## Timeline\n- 2026-08-12: report by Eric Ebinger to security@ocaml.org\n- 2026-08-17: release of mirage-crypto-ec 2.4.0 and this advisory","format":"markdown","source":"osec"}],"published":"2026-08-17T09:45:00.000Z","modified":"2026-11-19T10:30:05.840Z","severity":{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"rating":"MEDIUM"},{"scorer":"OCaml Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"rating":"MEDIUM"}],"cwes":["CWE-208"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"2.4.0","status":"affected"}],"vendor":"OCaml","product":"mirage-crypto-ec","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0.11.3","status":"affected","fixed":"2.4.0"}],"ecosystem":"opam","package":"mirage-crypto-ec","purl":"pkg:opam/mirage-crypto-ec","source":"osec"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"1a61aeee7f593ec067612df1739ec905eab0450f"}],"repo":"https://github.com/mirage/mirage-crypto","source":"osec"}],"references":[{"url":"https://osv.dev/vulnerability/OSEC-2026-17","tags":[],"sources":["cvelist","nvd"]}],"credits":["Eric Ebinger","Hannes Mehnert","Virgile Robles"],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-09-09T13:09:56.811Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-87737","url":"https://www.cve.org/CVERecord?id=CVE-2026-87737","licence":"CVE Terms of Use","modified":"2026-09-09T13:10:11.317Z"},{"source":"osec","name":"OCaml Security Advisories","id":"OSEC-2026-17","url":"https://osv.dev/vulnerability/OSEC-2026-17","licence":"CC0-1.0","modified":"2026-11-19T10:30:05.840Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-87737","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-87737","licence":"Public domain","modified":"2026-09-09T16:04:24.933Z"}],"updatedAt":"2026-11-25T22:59:37.702Z","epss":{"score":0.00212,"percentile":0.1222,"date":"2026-12-01T12:00:22.000Z"}}