Skip to content
OpenAdvisories
High · 7.9 Public exploit CVE-2026-28364 EUVD-2026-8988GHSA-g54x-7hpm-29q8

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…

Published Feb 27, 2026 · Updated Jul 15, 2026 · Assigned by mitre

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.

Affected products

VendorProductAffectedFixed
OCaml OCaml < 4.14.3, 5.0.0 – < 5.4.1 4.14.3

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ocaml 5.4.1-1 —
Debian 13 ocaml No fix yet —
Debian 12 ocaml No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 ocaml No fix yet —
Ubuntu 26.04 LTS ocaml No fix yet —
Ubuntu 25.10 ocaml No fix yet —
Ubuntu 24.04 LTS ocaml No fix yet —
Ubuntu 22.04 LTS ocaml No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS ocaml No fix yet —
Ubuntu Pro 18.04 LTS ocaml No fix yet —
Ubuntu Pro 16.04 LTS ocaml No fix yet —
Ubuntu Pro 14.04 LTS ocaml No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 ocaml 4.14.2-150600.3.3.1 SUSE-SU-2026:0830-1
SLES 15 SP6 ocaml 4.14.2-150600.3.3.1 SUSE-SU-2026:0830-1
SLES 15 SP5 ocaml 4.05.0-150200.15.3.1 SUSE-SU-2026:0800-1
SLES 15 SP4 ocaml 4.05.0-150200.15.3.1 SUSE-SU-2026:0800-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP6 ocaml 4.14.2-150600.3.3.1 SUSE-SU-2026:0830-1
SLES for SAP 15 SP5 ocaml 4.05.0-150200.15.3.1 SUSE-SU-2026:0800-1
SLES for SAP 15 SP4 ocaml 4.05.0-150200.15.3.1 SUSE-SU-2026:0800-1
SLE HPC 15 SP5 ocaml 4.05.0-150200.15.3.1 SUSE-SU-2026:0800-1
SLE HPC 15 SP4 ocaml 4.05.0-150200.15.3.1 SUSE-SU-2026:0800-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed ocaml 4.14.4-1.1 openSUSE-SU-2026:11136-1
openSUSE Leap 16.0 ocaml 4.14.2-160000.4.1 openSUSE-SU-2026:20368-1
openSUSE Leap 15.6 ocaml 4.14.2-150600.3.3.1 SUSE-SU-2026:0830-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 ocaml +5 4.13.1-4.amzn2023.0.3 ALAS2023-2026-1479

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 ocaml 5.1.1-2 —
Azure Linux 2 (CBL-Mariner) ocaml No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • I found an integer overflow that defeats OCaml's fix for CVE-2026-28364: heap memory disclosure and SIGBUS crashes via Marshal deserialization. PoCs, advisory, and proposed patch — fixed in OCaml 5.5…

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 5

References