CVE-2026-28364

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:ocaml:ocaml:*:*:*:*:*:*:*:*
cpe:2.3:a:ocaml:ocaml:*:*:*:*:*:*:*:*

History

No history.

Information

Published : 2026-02-27 04:16

Updated : 2026-07-15 02:19


NVD link : CVE-2026-28364

Mitre link : CVE-2026-28364

CVE.ORG link : CVE-2026-28364


JSON object : View

Products Affected

ocaml

  • ocaml
CWE
CWE-126

Buffer Over-read

CWE-125

Out-of-bounds Read