Home

Description

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.

PUBLISHED Reserved 2026-02-27 | Published 2026-02-27 | Updated 2026-02-27 | Assigner mitre




HIGH: 7.9CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N

Problem types

CWE-126 Buffer Over-read

Product status

Default status
unaffected

Any version before 4.14.3
affected

5.0.0 (semver) before 5.4.1
affected

References

github.com/...ries/blob/generated-osv/2026/OSEC-2026-01.json

osv.dev/vulnerability/OSEC-2026-01

cve.org (CVE-2026-28364)

nvd.nist.gov (CVE-2026-28364)

Download JSON