OCaml OCaml
At a glance
- Source
- NVD
- EPSS
- EPSS 0.24 % · percentile 15 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- mitre
- NVD status
- Modified
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.
Weaknesses (CWE)
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
- https://bugzilla.redhat.com/show_bug.cgi?id=2443348
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-28364.json
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.9 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N | mitre |
| CVSS 3.1 | HIGH 7.9 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N | redhat-SADP |
| CVSS 3.1 | HIGH 7.9 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N | NVD · cve@mitre.org (Secondary) |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
| CVSS 3.1 | HIGH 7.9 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N | NVD · 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) |
European references
- ENISA EUVD · EUVD-2026-8988
- GCVE · GCVE-0-2026-28364
CERT-FR advisories
- CERTFR-2026-AVI-0284 — Multiples vulnérabilités dans les produits Microsoft · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:ocaml:ocaml:*:*:*:*:*:*:*:*< 4.14.3cpe:2.3:a:ocaml:ocaml:*:*:*:*:*:*:*:*≥ 5.0.0 < 5.4.1
Affected products
| Product | Versions |
|---|---|
| OCaml · OCaml | affected 0 < 4.14.3 ; affected 5.0.0 < 5.4.1 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |