CVE-2026-28364
7.9
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| OCaml | OCaml | 0 < 4.14.3 | affected |
| OCaml | OCaml | 5.0.0 < 5.4.1 | affected |
Weaknesses
- CWE-126: CWE-126 Buffer Over-read
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: partial
ocaml: OCaml: Remote code execution via buffer over-read in Marshal deserialization
Additional References
- 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
References
- https://github.com/ocaml/security-advisories/blob/generated-osv/2026/OSEC-2026-01.json
- https://osv.dev/vulnerability/OSEC-2026-01
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.