CVE-2026-28364

published 27 Feb 2026 · updated 16 Nov 2026

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.

7.9HighCVSS 7.9EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 4.14.3 and 5.4.1.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
OCaml<4.14.3, >=5.0.0 <5.4.14.14.3, 5.4.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-28364 severity on Zeptric[![CVE-2026-28364](https://zeptric.io/badge/cve/CVE-2026-28364.svg)](https://zeptric.io/cve/CVE-2026-28364)