The caml_ba_deserialize function in byterun/bigarray.c in the standard library in OCaml…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Deferred Red Hat: fix deferred
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-190 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 7 | Affected | No fix yet: Fix deferred |
Not affected: 1 product
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2018-9838
- 2026-10-03 Alias added: GHSA-wc7m-73fq-26mj
References
More Ocaml vulnerabilities
- TI-2017-07154 Insufficient sanitisation in the OCaml compiler versions 4.04.0 and 4.04.1 allows… CVSS 3.0CRITICAL 9.8
- TI-2015-07299 OCaml before 4.03.0 does not properly handle sign extensions, which allows remote… CVSS 3.0CRITICAL 9.1
- TI-2017-07160 OCaml compiler allows attackers to have unspecified impact via unknown vectors, a similar… CVSS 3.0HIGH 7.8
- TI-2026-22643 In OCaml before 4.14.3 and 5.x before 5.4.1, a buffer over-read in Marshal… CVSS 3.1HIGH 7.9
- TI-2026-26640 Integer overflow in OCaml CVSS 3.1MEDIUM 5.9
Sources
- CVE-2018-9838 · CVE Program
- CVE-2018-9838 · NVD
- FIRST EPSS
- GHSA-wc7m-73fq-26mj · GitHub Advisory Database · CC BY 4.0
- CVE-2018-9838 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences