LiveActive security incident?Get immediate response
CVE Record

CVE-2018-9838: The caml_ba_deserialize function in byterun/bigarray.c in the standard library in OCaml 4.06.0 has an integ...

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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

OCaml 4.06.0 had an integer overflow in Bigarray deserialization. If an application accepts OCaml marshalled data from an untrusted source, a crafted object could corrupt memory, causing a crash or possibly arbitrary code execution. Risk is concentrated in services that deserialize untrusted OCaml data.

Executive priority

Prioritize this for OCaml-backed systems that process external serialized data. Broader urgency depends on whether OCaml 4.06.0 or affected downstream packages are present and reachable.

Technical view

The issue is in caml_ba_deserialize in byterun/bigarray.c, part of the OCaml standard library. The CVE describes an integer overflow during Bigarray unmarshalling that can lead to memory corruption when hostile marshalled input is processed.

Likely exposure

Likely exposure is limited to OCaml 4.06.0 environments or downstream packages using affected runtime code, especially networked services, APIs, or tooling that accept marshalled OCaml objects from untrusted sources.

Exploitation context

The source bundle does not show CISA KEV listing or confirmed active exploitation. It states remote attackers could trigger denial of service or possibly code execution only where untrusted marshalled data is accepted.

Researcher notes

Evidence identifies the vulnerable function and condition, but the bundle lacks CVSS, CWE, exploit confirmation, and explicit fixed versions. Treat remediation guidance as vendor-advisory driven rather than assuming a specific patch level.

Mitigation direction

  • Identify OCaml runtime versions in production and build images.
  • Prioritize systems that deserialize OCaml marshalled data from external inputs.
  • Review OCaml and distribution advisories for fixed package versions.
  • Apply vendor or distribution updates where applicable.
  • Avoid accepting untrusted marshalled OCaml data where feasible.

Validation and detection

  • Inventory services built with OCaml 4.06.0 or related packages.
  • Search code for OCaml Marshal or Bigarray deserialization paths.
  • Confirm whether deserialized data can originate outside trust boundaries.
  • Check Gentoo or vendor package status against GLSA-202007-48.
  • Document systems with no untrusted marshalled input as lower exposure.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2018-9838 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.