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 7.8/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| OCaml | OCaml | < 4.14.3; >= 5.0.0, < 5.4.1 |
| Red Hat | Red Hat Enterprise Linux 10 | — |
| Red Hat | Red Hat Enterprise Linux 6 | — |
| Red Hat | Red Hat Enterprise Linux 7 | — |
| Red Hat | Red Hat Enterprise Linux 8 | — |
| Red Hat | Red Hat Enterprise Linux 9 | — |
| Red Hat | Red Hat Hardened Images | — |
References
- https://github.com/ocaml/security-advisories/blob/generated-osv/2026/OSEC-2026-01.jsonVendor Advisory
- https://osv.dev/vulnerability/OSEC-2026-01Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2026-28364
- https://bugzilla.redhat.com/show_bug.cgi?id=2443348
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-28364.json
Timeline
- Published
- Feb 27, 2026
- Last modified
- Jul 15, 2026
- NVD status
- Modified