Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ocaml | Ocaml | < 4.14.3 |
Related Weaknesses (CWE)
References
- https://github.com/ocaml/security-advisories/blob/generated-osv/2026/OSEC-2026-0Vendor Advisory
- https://osv.dev/vulnerability/OSEC-2026-01Third Party Advisory
FAQ
What is CVE-2026-28364?
CVE-2026-28364 is a vulnerability with a CVSS score of 7.9 (HIGH). 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 ...
How severe is CVE-2026-28364?
CVE-2026-28364 has been rated HIGH with a CVSS base score of 7.9/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-28364?
Check the references section above for vendor advisories and patch information. Affected products include: Ocaml Ocaml.