CVE-2026-28364

State
Published
Severity
7.9 High
Published
Feb 27, 2026
Updated
Jul 15, 2026
Reserved
Feb 27, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.9 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:Nmitre
3.17.9 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:Nredhat-SADP

Weaknesses

Affected Products

ProductVersions
OCamlOCaml
  • before 4.14.3Affected
  • 5.0.0 to before 5.4.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.