Vulnerability · Published Feb 27, 2026 · Assigned by mitre
CVE-2026-28364
High 7.9
In plain English
A high-severity out-of-bounds read in OCaml from OCaml. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 15% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | ocaml | no fix listed | DEBIAN-CVE-2026-28364 |
| Debian:13 | ocaml | no fix listed | DEBIAN-CVE-2026-28364 |
| Debian:14 | ocaml | 5.4.1-1 | DEBIAN-CVE-2026-28364 |
| Ubuntu:22.04:LTS | ocaml | no fix listed | UBUNTU-CVE-2026-28364 |
| Ubuntu:24.04:LTS | ocaml | no fix listed | UBUNTU-CVE-2026-28364 |
| Ubuntu:25.10 | ocaml | no fix listed | UBUNTU-CVE-2026-28364 |
| Ubuntu:26.04:LTS | ocaml | no fix listed | UBUNTU-CVE-2026-28364 |
| Ubuntu:26.10 | ocaml | no fix listed | UBUNTU-CVE-2026-28364 |
Affected products (as reported)
Weakness: CWE-126, CWE-125 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N
References
- https://github.com/ocaml/security-advisories/blob/generated-osv/2026/OSEC-2026-01.json
- https://osv.dev/vulnerability/OSEC-2026-01
- https://access.redhat.com/security/cve/CVE-2026-28364 vdb-entry, x_refsource_REDHAT
- RHBZ#2443348 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-28364.json x_sadp-csaf-vex