Vulnerabilities / CVE-2018-9838

critical

CVE-2018-9838

ocaml: Integer overflow in byterun/bigarray.c:caml_ba_deserialize() allows remote attackers to cause a denial of service or other unspecified impact

Published Modified CWE 190
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat5.6CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (low), Ubuntu (low).

Description

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.

Affected packages and fixed versions

SourcePackageFixed in
debian 11ocaml4.05.0-11
debian 12ocaml4.05.0-11
debian 13ocaml4.05.0-11
debian 14ocaml4.05.0-11
debian 7ocamlno fix listed
debian 8ocamlno fix listed
debian 9ocamlno fix listed
echoocaml4.05.0-11
Red Hatocaml, ocaml-camlp4, ocaml-camlp4-devel and 9 moreno fix listed
ubuntu 14.04-ESMocaml4.01.0-3ubuntu3.1+esm1
ubuntu 16.04-ESMocaml4.02.3-5ubuntu2+esm1
ubuntu 18.04-ESMocaml4.05.0-10ubuntu1+esm1
Show all 23 entries from 12 sources
SourcePackageFixed in
debian 11ocaml4.05.0-11
debian 12ocaml4.05.0-11
debian 13ocaml4.05.0-11
debian 14ocaml4.05.0-11
debian 7ocamlno fix listed
debian 8ocamlno fix listed
debian 9ocamlno fix listed
echoocaml4.05.0-11
Red Hatocamlno fix listed
Red Hatocaml-camlp4no fix listed
Red Hatocaml-camlp4-develno fix listed
Red Hatocaml-compiler-libsno fix listed
Red Hatocaml-docsno fix listed
Red Hatocaml-emacsno fix listed
Red Hatocaml-labltkno fix listed
Red Hatocaml-labltk-develno fix listed
Red Hatocaml-ocamldocno fix listed
Red Hatocaml-runtimeno fix listed
Red Hatocaml-sourceno fix listed
Red Hatocaml-x11no fix listed
ubuntu 14.04-ESMocaml4.01.0-3ubuntu3.1+esm1
ubuntu 16.04-ESMocaml4.02.3-5ubuntu2+esm1
ubuntu 18.04-ESMocaml4.05.0-10ubuntu1+esm1

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.