SecurityContext

CVE-2018-9838: OCaml - Insecure Deserialization

  • Cve: CVE-2018-9838
  • Name: OCaml - Insecure Deserialization
  • 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.
  • Impact: Attackers can cause denial of service or execute arbitrary code by exploiting the integer overflow during deserialization.
  • Remediation: Update to the latest version of OCaml where this issue is fixed or apply relevant patches.
  • Vulnerability type: insecure_deserialization
  • Vulnerability impact: denial_of_service, remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.04173
  • Epss percentile: 0.91153
  • Assignee: [email protected]
  • Published at: 2018-04-06T18:29:00Z
  • Age in days: 3154
  • Modified at: 2026-06-17T02:07:05Z
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-9838
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-190Integer Overflow or Wraparound

References

UrlSourceTags
https://caml.inria.fr/mantis/view.php?id=7765nvdIssue Tracking, Vendor Advisory
https://security.gentoo.org/glsa/202007-48nvd

Products

ProductAffectedPlatform boundSourcesUrl
ocaml:ocaml= 4.06.0nonvd/v1/products/ocaml/ocaml

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts