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)
CVE-2026-28364 is a high-severity flaw (CVSS 7.9) affecting ocaml. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
A fixed release or distro patch exists.
Last updated 2026-07-15 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-28364?
ocaml: upgrade to 4.14.3, 5.4.1. Exact commands for each OS are on this page.
Is CVE-2026-28364 being exploited?
CVE-2026-28364 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-28364 affect?
CVE-2026-28364 affects ocaml. Severity is high (CVSS 7.9). 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 re
How urgent is CVE-2026-28364?
Priority 31/100. High severity
Related CVEs
- CVE-2026-34353 MEDIUM 5.9 UPGRADE In OCaml through 4.14.3, Bigarray.reshape allows an integer overflow, and resultant reading of arbitrary memor