CVE-2026-28364
Modified Modified - Updated After Analysis

Buffer Over-Read in OCaml Marshal Enables Remote Code Execution

Vulnerability report for CVE-2026-28364, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-02-27

Last updated on: 2026-06-30

Assigner: MITRE

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-02-27
Last Modified
2026-06-30
Generated
2026-07-06
AI Q&A
2026-02-27
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
ocaml ocaml to 4.14.3 (exc)
ocaml ocaml From 5.0.0 (inc) to 5.4.1 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-126 The product reads from a buffer using buffer access mechanisms such as indexes or pointers that reference memory locations after the targeted buffer.
CWE-125 The product reads data past the end, or before the beginning, of the intended buffer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability exists in OCaml versions before 4.14.3 and 5.x before 5.4.1. It is a buffer over-read issue in the Marshal deserialization process, specifically in the runtime/intern.c file. The problem arises because the readblock() function lacks proper bounds validation and performs unbounded memcpy() operations using lengths controlled by an attacker through crafted Marshal data. This flaw enables a remote code execution attack through a multi-phase attack chain.

Impact Analysis

The vulnerability can lead to remote code execution, meaning an attacker could potentially execute arbitrary code on the affected system without user interaction. This could compromise the confidentiality and integrity of the system, allowing unauthorized access or manipulation of data.

Compliance Impact

I don't know

Detection Guidance

I don't know

Mitigation Strategies

I don't know

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-28364. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart