Integer overflow in Ocaml

CVE-2018-9838

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.

Vulnerability class: Integer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.041 (90.5th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 90th percentile — 90.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2018-9838: held from 0.042 to 0.041.

EPSS over last 30 days · oldest: 0.042 · newest: 0.041 · change: -0.001

Affected products

  • Ocaml — versions 4.06.0

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2018-9838?
CVE-2018-9838 is a critical-severity vulnerability in Ocaml, classified under Integer Overflow or Wraparound. CVSS score: 9.8/10. Published 2018-04-06.
How severe is CVE-2018-9838?
Critical severity. CVSS v3 base score is 9.8 out of 10.