Ocaml

8 CVEs across 3 Ocaml products. Browse Ocaml vulnerabilities, severities, and proof-of-concept exploits.

Ocaml products with known CVEs

ProductCVEs
Ocaml6
Opam1
Postgresql-Ocaml1
Ocaml CVEs — newest first
CVESeverityScorePublishedSummary
CVE-2026-41082High7.32026-04-16In OCaml opam before 2.5.1, a .install field containing a destination filepath can use ../ to reach a parent directory.
CVE-2026-34353Medium5.92026-03-27In OCaml through 4.14.3, Bigarray.reshape allows an integer overflow, and resultant reading of arbitrary memory, when untrusted data is processed.
CVE-2026-28364High7.92026-02-27In 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-pha…
CVE-2018-9838Critical9.82018-04-06The 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 da…
CVE-2017-9779High7.82017-09-07OCaml compiler allows attackers to have unspecified impact via unknown vectors, a similar issue to CVE-2017-9772 "but with much less impact."
CVE-2017-9772Critical9.82017-06-23Insufficient 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 setu…
CVE-2015-8869Critical9.12016-06-13OCaml before 4.03.0 does not properly handle sign extensions, which allows remote attackers to conduct buffer overflow attacks or obtain sensitive information…
CVE-2009-29432009-10-22The postgresql-ocaml bindings 1.5.4, 1.7.0, and 1.12.1 for PostgreSQL libpq do not properly support the PQescapeStringConn function, which might allow remote a…