Live threats

All CVEs / Ocaml

CVE-2018-9838Ocaml

Critical 9.8 No auth needed

Priority
74
CVSS 3.0
9.8
EPSS
4.2%
probability of exploitation in 30 days · percentile 92
Auth required
No
Published
Apr 6, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-190
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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 attackers to cause a denial of service (memory corruption) or possibly execute arbitrary code via a crafted object.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ocaml.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
ocamlocaml4.06.0

Official sources

References

Links published by the sources. Open them with care.