{"id":"CVE-2026-87736","aliases":["CVE-2026-87736","OSEC-2026-15"],"related":[],"kind":"vulnerability","state":"published","title":"EC public key out of bounds read","summary":"An issue was discovered in the mirage-crypto-ec package before 2.3.0 for OCaml. There is an EC public key out-of-bounds read for compressed points.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in the mirage-crypto-ec package before 2.3.0 for OCaml. There is an EC public key out-of-bounds read for compressed points.","source":"cvelist"},{"lang":"en","text":"The internal Point.of_octets function is missing a length check for compressed\npoints, and thus is raising an exception when a short buffer is provided. This\naffects all NIST curves (P-256, P-384, P-521) and both `Dsa.pub_of_octets` and\n`Dh.key_exchange` functions.\n\n## Fix\n\nThe fix is to check the length of the provided buffer.\n\n## Timeline\n\n- July 28th 2026: report to security@ocaml.org\n- August 7th: release of mirage-crypto-pk 2.3.0 and security advisory","format":"markdown","source":"osec"}],"published":"2026-08-07T13:00:00.000Z","modified":"2026-11-06T13:45:03.091Z","severity":{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":4.3,"rating":"MEDIUM"},{"scorer":"OCaml Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"2.3.0","status":"affected"}],"vendor":"OCaml","product":"mirage-crypto-ec","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.3.0"}],"ecosystem":"opam","package":"mirage-crypto-ec","purl":"pkg:opam/mirage-crypto-ec","source":"osec"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"1f0bf67044e67cf6e46911fcd77a0ff706b6c3e7"}],"repo":"https://github.com/mirage/mirage-crypto.git","source":"osec"}],"references":[{"url":"https://osv.dev/vulnerability/OSEC-2026-15","tags":[],"sources":["cvelist","nvd"]}],"credits":["Thomas Gazagnaire","Hannes Mehnert"],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-09-14T15:37:48.891Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-87736","url":"https://www.cve.org/CVERecord?id=CVE-2026-87736","licence":"CVE Terms of Use","modified":"2026-09-14T15:41:32.129Z"},{"source":"osec","name":"OCaml Security Advisories","id":"OSEC-2026-15","url":"https://osv.dev/vulnerability/OSEC-2026-15","licence":"CC0-1.0","modified":"2026-11-06T13:45:03.091Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-87736","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-87736","licence":"Public domain","modified":"2026-09-14T16:17:21.733Z"}],"updatedAt":"2026-11-25T22:59:37.702Z","epss":{"score":0.00212,"percentile":0.12247,"date":"2026-12-01T12:00:22.000Z"}}