CVE-2026-28364CWE-126

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…

High · published February 27, 2026

CVSS v3.1
7.9
EPSS
0%
Percentile
24.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.9 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00331 · 24.9th percentile
Weakness
CWE-126 · Buffer Over-read
Published
2026-02-27T03:54Z
EPSS history
Timeline
  • 27 FEB 03:54Z
    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…
    cvelistv5