# CVE-2018-9838

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 4% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2018-04-06 · Modified: 2024-08-05
- Aliases: MGASA-2019-0124, SUSE-SU-2018:0983-1, SUSE-SU-2018:1075-1, SUSE-SU-2018:1493-1, SUSE-SU-2018:1494-1, UBUNTU-CVE-2018-9838, DEBIAN-CVE-2018-9838
- Record: https://cvemate.com/vulnerability/CVE-2018-9838 · JSON: https://cvemate.com/vulnerability/CVE-2018-9838/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 4.173%, percentile 91.186%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian ocaml (Debian): \< 4.05.0-11
- ubuntu ocaml (Ubuntu): \< 4.01.0-3ubuntu3.1+esm1 \| \< 4.02.3-5ubuntu2+esm1 \| \< 4.05.0-10ubuntu1+esm1
- mageia ocaml (Mageia): \< 4.02.3-6.1.mga6
- ocaml ocaml: 4.06.0
- suse ocaml&distro=SUSE Linux Enterprise Software Development Kit 11 SP4 (SUSE Linux Enterprise): \< 4.02.1-4.3.2 \| \< 4.02.1-4.6.1
- suse ocaml&distro=SUSE Linux Enterprise Software Development Kit 12 SP3 (SUSE Linux Enterprise): \< 4.03.0-8.3.1 \| \< 4.03.0-8.6.8

## References

- <https://caml.inria.fr/mantis/view.php?id=7765>
- <https://security.gentoo.org/glsa/202007-48>
- <https://advisories.mageia.org/MGASA-2019-0124.html>
- <https://bugs.mageia.org/show_bug.cgi?id=22948>
- <https://lists.opensuse.org/opensuse-updates/2018-04/msg00070.html>
- <https://bugzilla.suse.com/show_bug.cgi?id=1088591>
- <https://lists.opensuse.org/opensuse-updates/2018-06/msg00016.html>
- <https://www.suse.com/support/update/announcement/2018/suse-su-20180983-1/>
- <https://bugzilla.suse.com/1088591>
- <https://www.suse.com/security/cve/CVE-2018-9838>
- <https://www.suse.com/support/update/announcement/2018/suse-su-20181075-1/>
- <https://www.suse.com/support/update/announcement/2018/suse-su-20181493-1/>
- <https://www.suse.com/support/update/announcement/2018/suse-su-20181494-1/>
- <https://ubuntu.com/security/CVE-2018-9838>
- <https://ubuntu.com/security/notices/USN-4778-1>
- <https://www.cve.org/CVERecord?id=CVE-2018-9838>
- <https://security-tracker.debian.org/tracker/CVE-2018-9838>

---

Data as of 2026-12-05T02:59:40.819Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
