Ocaml vulnerabilities
6 CVEs affecting Ocaml, 0 known to be exploited (CISA KEV), with EPSS scores. Latest: CVE-2026-34353, published 2026-03-27.
More from Ocaml.
Highest priority
Known exploited (CISA KEV) first, then by EPSS exploit probability.
- CVE-2015-8869, published 2016-06-13. Critical severity, CVSS 9.1. EPSS: 5.3% probability of exploitation activity in the next 30 days. OCaml before 4.03.0 does not properly handle sign extensions, which allows remote attackers to conduct buffer overflow attacks or obtain sensitive information as demonstrated by a long string to the…
- CVE-2018-9838, published 2018-04-06. Critical severity, CVSS 9.8. EPSS: 4.2% probability of exploitation activity in the next 30 days. The caml_ba_deserialize function in byterun/bigarray.c in the standard library in OCaml 4.06.0 has an integer overflow which, in situations where marshalled data is accepted from an untrusted source,…
- CVE-2017-9772, published 2017-06-23. Critical severity, CVSS 9.8. EPSS: 3.5% probability of exploitation activity in the next 30 days. Insufficient sanitisation in the OCaml compiler versions 4.04.0 and 4.04.1 allows external code to be executed with raised privilege in binaries marked as setuid, by setting the CAML_CPLUGINS,…
- CVE-2017-9779, published 2017-09-07. High severity, CVSS 7.8. EPSS: 0.6% probability of exploitation activity in the next 30 days. OCaml compiler allows attackers to have unspecified impact via unknown vectors, a similar issue to CVE-2017-9772 "but with much less impact."
- CVE-2026-28364, published 2026-02-27. High severity, CVSS 7.8. EPSS: 0.4% probability of exploitation activity in the next 30 days. In OCaml before 4.14.3 and 5.x before 5.4.1, a buffer over-read in Marshal deserialization (runtime/intern.c) enables remote code execution through a multi-phase attack chain. The vulnerability stems…
- CVE-2026-34353, published 2026-03-27. Medium severity, CVSS 5.1. EPSS: 0.2% probability of exploitation activity in the next 30 days. In OCaml through 4.14.3, Bigarray.reshape allows an integer overflow, and resultant reading of arbitrary memory, when untrusted data is processed.