HarborGuard / CVE
Back to search
HIGHCVE-2026-28364Published Modified CNA mitre

CVE-2026-28364: In OCaml before 4

In OCaml before 4.14.3 and 5.x before 5.4.1, a buffer over-read in Marshal deserialization (runtime/intern.c) enables remote code execution through a multi-phase attack chain. The vulnerability stems from missing bounds validation in the readblock() function, which performs unbounded memcpy() operations using attacker-controlled lengths from crafted Marshal data.

Metrics

CVSS v3.1
7.9
Severity
HIGH
Fixed in
4.14.3
Affected Products
1

Fix available

4.14.35.4.1
Affected packages
  • OCaml / OCaml
    < 4.14.3 (from 0) · < 5.4.1 (from 5.0.0)
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N