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
Affects ocamlSource GCVE Database
Not known to be exploited · CVSS 7.9 High.
Data as of 27 Oct 2026, 06:42 UTC
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 27 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10ocamlpkg:deb/ubuntu/ocaml?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSocamlpkg:deb/ubuntu/ocaml?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10ocamlpkg:deb/ubuntu/ocaml?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSocamlpkg:deb/ubuntu/ocaml?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSocamlpkg:deb/ubuntu/ocaml?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSocamlpkg:deb/ubuntu/ocaml?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.