Ocaml

15 CVEs across 9 Ocaml products. Browse Ocaml vulnerabilities, severities, and proof-of-concept exploits.

Ocaml products with known CVEs

ProductCVEs
Ocaml6
Opam2
Cstruct1
Jose1
Mirage-Crypto1
Mirage-Crypto-Ec1
Mirage-Crypto-Pk1
Postgresql-Ocaml1
Utcp1
Ocaml CVEs — newest first
CVESeverityScorePublishedSummary
CVE-2026-89087High7.32026-09-10The cstruct package before 6.3.0 for OCaml mishandles indexes.
CVE-2026-89086Critical9.12026-09-10In the jose package before 0.11.0 for OCaml, library calls to validate an RSA signature only confirm that PKCS #1 decoding succeeds, and proceed to declare the…
CVE-2026-87736Medium4.32026-09-09An 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.
CVE-2026-87735Medium4.32026-09-09An issue was discovered in the mirage-crypto-pk package before 2.3.0 for OCaml. There is an undocumented exception for a small message during RSA decryption or…
CVE-2026-87734High7.52026-09-09An issue was discovered in the utcp package before 0.0.6 for OCaml. Out-of-order segment reassembly allows remote denial of service.
CVE-2026-87732Medium6.22026-09-09An issue was discovered in the mirage-crypto package before 2.2.0 for OCaml. The AES.GCM.authenticate_decrypt_into and Chacha20.authenticate_decrypt_into funct…
CVE-2026-57825Medium5.72026-09-09In the opam package before 2.5.2 for OCaml, the sandbox protection mechanism can be bypassed because symlinks are mishandled during use of .install files.
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…