Skip to main content
CVE-2026-28364VulnerabilityPublished Updated

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

0

Not known to be exploited · CVSS 7.9 High.

Data as of 27 Oct 2026, 06:42 UTC

CVSS 3.1 base score
7.9High
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 27 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Ubuntu 26.10ocamlpkg:deb/ubuntu/ocaml?arch=source&distro=stonkingOther threatsAffected
  • =5.4.0-3ubuntu1
  • =5.4.1-1ubuntu1
Fixed in–
Ubuntu 26.04 LTSocamlpkg:deb/ubuntu/ocaml?arch=source&distro=resoluteOther threatsAffected
  • 5.3.0-3 – 5.4.0-3ubuntu1
4 affected builds
Fixed in–
Ubuntu 25.10ocamlpkg:deb/ubuntu/ocaml?arch=source&distro=questingOther threatsAffected
  • =5.3.0-2
  • =5.3.0-3
Fixed in–
Ubuntu 24.04 LTSocamlpkg:deb/ubuntu/ocaml?arch=source&distro=nobleOther threatsAffected
  • =4.13.1-6ubuntu1
  • =4.14.1-1ubuntu1
Fixed in–
Ubuntu 22.04 LTSocamlpkg:deb/ubuntu/ocaml?arch=source&distro=jammyOther threatsAffected
  • =4.11.1-4
  • =4.11.1-5ubuntu1
  • =4.13.1-3ubuntu1
Fixed in–
Ubuntu 20.04 LTSocamlpkg:deb/ubuntu/ocaml?arch=source&distro=focalOther threatsAffected
  • =4.05.0-12ubuntu3
  • =4.08.1-8
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.

References

Community reviews

Loading reviews…