CVE-2026-28364
ocaml: OCaml: Remote code execution via buffer over-read in Marshal deserialization
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · February 27, 2026
Updated · June 30, 2026
Description
A flaw was found in OCaml. A remote attacker could exploit a buffer over-read vulnerability during Marshal deserialization by providing specially crafted data. This issue stems from missing bounds validation in the readblock() function, which performs unbounded memory copy operations. Successful exploitation could lead to remote code execution.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7.9CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N
CWE-125 · Out-of-bounds Read