CVE-2026-87736
An issue was discovered in the mirage-crypto-ec package before 2.3.0 for OCaml. There is an EC...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
4.3
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.
- Record
CVE-2026-87736- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-125
- Updated
- 2026-11-02
EUVDEUVD-2026-74622
4.3
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.
- Record
EUVD-2026-74622- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-x37h-cx7x-wm76
4.3
An issue was discovered in the mirage-crypto-ec package before 2.3.0 for OCaml. There is an EC...
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.
- Record
GHSA-x37h-cx7x-wm76- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-125
- Updated
- 2026-11-02
NVD
4.3
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.
- Record
CVE-2026-87736- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-125
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2026-87736
4.3
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.
- Record
DEBIAN-CVE-2026-87736- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVOSEC-2026-15
4.3
EC public key out of bounds read
The internal Point.of_octets function is missing a length check for compressed
points, and thus is raising an exception when a short buffer is provided. This
affects all NIST curves (P-256, P-384, P-521) and both Dsa.pub_of_octets and
Dh.key_exchange functions.
Fix
The fix is to check the length of the provided buffer.
Timeline
- July 28th 2026: report to [email protected]
- August 7th: release of mirage-crypto-pk 2.3.0 and security advisory
- Record
OSEC-2026-15- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVUBUNTU-CVE-2026-87736
4.3
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.
- Record
UBUNTU-CVE-2026-87736- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
ocaml-mirage-cryptoDebian:12 |
All versions, plus listed versions 0.10.7-10.11.1-10.11.1-20.11.1-30.11.2-1 Show 14 moreShow less0.11.2-20.11.3-11.1.0-11.1.0-22.0.0-12.0.1-12.0.2-12.0.3-12.1.0-12.2.0-12.2.0-22.3.0-12.4.0-12.4.1-1 |
None known |
ocaml-mirage-cryptoDebian:13 |
All versions, plus listed versions 2.0.0-12.0.1-12.0.2-12.0.3-12.1.0-1 Show 5 moreShow less2.2.0-12.2.0-22.3.0-12.4.0-12.4.1-1 |
None known |
ocaml-mirage-cryptoDebian:14 |
before 2.3.0-1, plus listed versions 2.0.0-12.0.1-12.0.2-12.0.3-12.1.0-12.2.0-12.2.0-2 |
2.3.0-1 |
mirage-crypto-ecopam |
before 2.3.0, plus listed versions 0.9.00.9.10.9.20.10.00.10.1 Show 45 moreShow less0.10.20.10.30.10.40.10.50.10.60.10.70.11.00.11.10.11.20.11.31.0.01.1.01.2.02.0.02.0.12.0.22.0.32.1.02.2.0v2.2.0v2.1.0v2.0.3v2.0.2v2.0.1v2.0.0v1.2.0v1.1.0v1.0.1v1.0.0v0.11.3v0.11.2v0.11.1v0.11.0v0.10.7v0.10.6v0.10.5v0.10.4v0.10.3v0.10.2v0.10.1v0.10.0v0.9.2v0.9.1v0.9.0v0.8.10 |
2.3.0 |
ocaml-mirage-cryptoUbuntu:22.04:LTS |
All versions, plus listed versions 0.10.5-40.10.5-4build2 |
None known |
ocaml-mirage-cryptoUbuntu:24.04:LTS |
All versions, plus listed versions 0.11.1-30.11.2-10.11.2-1build10.11.2-2build3 |
None known |
ocaml-mirage-cryptoUbuntu:26.10 |
All versions, plus listed versions 2.0.2-1build52.4.0-1 |
None known |
ocaml-mirage-cryptoUbuntu:26.04:LTS |
All versions, plus listed versions 2.0.1-1build12.0.2-1build12.0.2-1build22.0.2-1build32.0.2-1build5 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-87736 is a medium vulnerability (CVSS 4.3) in Ocaml Mirage-crypto-ec, published August 7, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.36%, the 29th percentile. Fixed in ocaml-mirage-crypto 2.3.0-1.
References
Left out here: 14 versions. The JSON record has them.