CVE-2018-9838: ocaml Integer Overflow or Wraparound
Vulnerability summary
CVE-2018-9838 is a critical (CVSS 9.8) Integer Overflow or Wraparound vulnerability in ocaml. EPSS estimates a 4.17% chance of exploitation in the next 30 days, higher than 91.1% of scored vulnerabilities.
Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 4% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 06-04-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
4.17%
Chance of exploitation in the next 30 days
Percentile
91%
Versus all other CVEs
30-day change
No change 0.00 pp
From 4.17% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Suse2 products
- ocaml&distro=SUSE Linux Enterprise Software Development Kit 11 SP4< 4.02.1-4.3.2 | < 4.02.1-4.6.1
- ocaml&distro=SUSE Linux Enterprise Software Development Kit 12 SP3< 4.03.0-8.3.1 | < 4.03.0-8.6.8
Debian1 product
- ocaml< 4.05.0-11
Mageia1 product
- ocaml< 4.02.3-6.1.mga6
Ocaml1 product
- ocaml4.06.0
Ubuntu1 product
- ocaml< 4.01.0-3ubuntu3.1+esm1 | < 4.02.3-5ubuntu2+esm1 | < 4.05.0-10ubuntu1+esm1
5 vendors · 6 products