Priority HIGH 80
In 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 signature valid without the required steps that involve the…
CVSS 3.1CRITICAL 9.1· Network · No auth · No interaction · EPSS 0.00276 · Published 2026-09-10 · Fixed in 0.11.0 CWE-347
Priority HIGH 72
An issue was discovered in the utcp package before 0.0.6 for OCaml.
CVSS 3.1HIGH 7.5· Network · No auth · No interaction · EPSS 0.00507 · Published 2026-09-09 · Fixed in 0.0.6 CWE-923
Priority HIGH 67
In OCaml opam before 2.5.1, a .install field containing a destination filepath can use ../ to reach a parent directory.
CVSS 3.1HIGH 7.8· Local · No auth · User interaction · EPSS 0.00205 · Published 2026-04-16 · Partial fix · 2.5.1 CWE-24
Priority MEDIUM 61
An issue was discovered in the mirage-crypto-ec function before 2.2.0 for OCaml.
CVSS 3.1MEDIUM 6.2· Local · No auth · No interaction · EPSS 0.00151 · Published 2026-09-09 · Fixed in 2.2.0 CWE-295
Priority MEDIUM 61
An issue was discovered in the mirage-crypto package before 2.2.0 for OCaml.
CVSS 3.1MEDIUM 6.2· Local · No auth · No interaction · EPSS 0.00107 · Published 2026-09-09 · Fixed in 2.2.0 CWE-347
Priority MEDIUM 49
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, allows remote attack…
CVSS 3.0CRITICAL 9.8· Network · No auth · No interaction · EPSS 0.04173 · Published 2018-04-06 · Fix deferred CWE-190
Priority MEDIUM 48
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, CAML_NATIVE_CPLUGINS, or CA…
CVSS 3.0CRITICAL 9.8· Network · No auth · No interaction · EPSS 0.03496 · Published 2017-06-23 · No fix listed
Priority MEDIUM 47
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 String.copy function.
CVSS 3.0CRITICAL 9.1· Network · No auth · No interaction · EPSS 0.05313 · Published 2016-06-13 · Fixed CWE-119
Priority LOW 38
The cstruct package before 6.3.0 for OCaml mishandles indexes.
CVSS 3.1HIGH 7.3· Network · No auth · No interaction · EPSS 0.00318 · Published 2026-09-10 · Fixed in 6.3.0 CWE-573
Priority LOW 37
The 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 attackers to leverage escaping issues involving multibyte char…
CVSS 2.0HIGH 7.5· Network · No auth · Interaction — · EPSS 0.02207 · Published 2009-10-22 · No fix listed
Priority LOW 35
OCaml compiler allows attackers to have unspecified impact via unknown vectors, a similar issue to CVE-2017-9772 "but with much less impact."
CVSS 3.0HIGH 7.8· Local · Low privileges · No interaction · EPSS 0.00577 · Published 2017-09-07 · No fix listed
Priority LOW 34
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.
CVSS 3.1HIGH 7.9· Local · No auth · No interaction · EPSS 0.00241 · Published 2026-02-27 · Partial fix · 4.14.3, 5.4.1 CWE-126
Priority LOW 26
An issue was discovered in the mirage-crypto-ec package before 2.4.0 for OCaml.
CVSS 3.1MEDIUM 5.9· Network · No auth · No interaction · EPSS 0.00332 · Published 2026-09-09 · Fixed in 2.4.0 CWE-208
Priority LOW 26
In 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.
CVSS 3.1MEDIUM 5.7· Network · Low privileges · User interaction · EPSS 0.00472 · Published 2026-09-09 · Fixed in 2.5.2 CWE-61
Priority LOW 25
In OCaml through 4.14.3, Bigarray.reshape allows an integer overflow, and resultant reading of arbitrary memory, when untrusted data is processed.
CVSS 3.1MEDIUM 5.9· Local · No auth · No interaction · EPSS 0.00116 · Published 2026-03-27 · Fix deferred CWE-190
Priority LOW 20
An issue was discovered in the mirage-crypto-ec package before 2.3.0 for OCaml.
CVSS 3.1MEDIUM 4.3· Network · Low privileges · No interaction · EPSS 0.00359 · Published 2026-09-09 · Fixed in 2.3.0 CWE-125
Priority LOW 20
An issue was discovered in the mirage-crypto-pk package before 2.3.0 for OCaml.
CVSS 3.1MEDIUM 4.3· Network · Low privileges · No interaction · EPSS 0.0023 · Published 2026-09-09 · Fixed in 2.3.0 CWE-1284