CVE-2026-28364
Last modified
CVE-2026-28364 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.. EPSS estimates a 0.18% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Ocaml | Ocaml | < 4.14.3 |
| Ocaml | Ocaml | >= 5.0.0, < 5.4.1 |
References
- https://osv.dev/vulnerability/OSEC-2026-01Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-28364?
How severe is CVE-2026-28364?
How do I fix CVE-2026-28364?
Are you affected by CVE-2026-28364?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
