CVEfocus › CVE database › CVE-2018-9838

CVE-2018-9838

CVSS 9.8 CriticalEPSS 4.2% (higher than 91% of CVEs)Published 2018-04-06Updated 2024-08-05Assigner: mitre

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.

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
15Fix pending
11Will not fix
10Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04ocamlNot affected
vulnerable_code_not_present
Ubuntu 20.04ocamlNot affected
vulnerable_code_not_present
Ubuntu 18.04ocamlFix pending4.05.0-10ubuntu1+esm1 (Ubuntu Pro)UBUNTU-CVE-2018-9838
Ubuntu 16.04ocamlFix pending4.02.3-5ubuntu2+esm1 (Ubuntu Pro)UBUNTU-CVE-2018-9838
Ubuntu 14.04ocamlFix pending4.01.0-3ubuntu3.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2018-9838
Debian 14ocamlFixed4.05.0-11DEBIAN-CVE-2018-9838
Debian 13ocamlFixed4.05.0-11DEBIAN-CVE-2018-9838
Debian 12ocamlFixed4.05.0-11DEBIAN-CVE-2018-9838
Red Hat Enterprise Linux 8ocamlNot affected
Red Hat Enterprise Linux 8ocaml-camlp4Not affected
Red Hat Enterprise Linux 8ocaml-camlp4-develNot affected
Red Hat Enterprise Linux 8ocaml-compiler-libsNot affected
Red Hat Enterprise Linux 8ocaml-labltkNot affected
Red Hat Enterprise Linux 8ocaml-labltk-develNot affected
Red Hat Enterprise Linux 8ocaml-ocamldocNot affected
Red Hat Enterprise Linux 8ocaml-runtimeNot affected
Red Hat Enterprise Linux 7ocamlFix pending
Fix deferred
Red Hat Enterprise Linux 7ocaml-camlp4Fix pending
Fix deferred
Red Hat Enterprise Linux 7ocaml-camlp4-develFix pending
Fix deferred
Red Hat Enterprise Linux 7ocaml-compiler-libsFix pending
Fix deferred
Red Hat Enterprise Linux 7ocaml-docsFix pending
Fix deferred
Red Hat Enterprise Linux 7ocaml-emacsFix pending
Fix deferred
Red Hat Enterprise Linux 7ocaml-labltkFix pending
Fix deferred
Red Hat Enterprise Linux 7ocaml-labltk-develFix pending
Fix deferred
Red Hat Enterprise Linux 7ocaml-ocamldocFix pending
Fix deferred
Red Hat Enterprise Linux 7ocaml-runtimeFix pending
Fix deferred
Red Hat Enterprise Linux 7ocaml-sourceFix pending
Fix deferred
Red Hat Enterprise Linux 7ocaml-x11Fix pending
Fix deferred
Red Hat Enterprise Linux 6ocamlWill not fix
Will not fix
Red Hat Enterprise Linux 6ocaml-camlp4Will not fix
Will not fix
Red Hat Enterprise Linux 6ocaml-camlp4-develWill not fix
Will not fix
Red Hat Enterprise Linux 6ocaml-docsWill not fix
Will not fix
Red Hat Enterprise Linux 6ocaml-emacsWill not fix
Will not fix
Red Hat Enterprise Linux 6ocaml-labltkWill not fix
Will not fix
Red Hat Enterprise Linux 6ocaml-labltk-develWill not fix
Will not fix
Red Hat Enterprise Linux 6ocaml-ocamldocWill not fix
Will not fix
Red Hat Enterprise Linux 6ocaml-runtimeWill not fix
Will not fix
Red Hat Enterprise Linux 6ocaml-sourceWill not fix
Will not fix
Red Hat Enterprise Linux 6ocaml-x11Will not fix
Will not fix

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.