OCaml
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.9high · scored by CNA · CWE-126
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
OCaml OCaml
- < 4.14.3
- >= 5.0.0, < 5.4.1
Fixed in 4.14.3, 5.4.1
Mitigation
Upgrade OCaml to 4.14.3 or 5.4.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.1 informational
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Akshay-M-Singh/ocaml-marshal-vulnerability | 24 Sep 2026 +209 d | 0 | Informational · detection
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.