LiveActive security incident?Get immediate response
CVE Record

CVE-2026-28364: In OCaml before 4.14.3 and 5.x before 5.4.1, a buffer over-read in Marshal deserialization (runtime/intern....

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.

HighCVSS 7.9Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

OCaml’s Marshal deserialization can read beyond a buffer when handling crafted serialized data. Sources describe a multi-phase path to remote code execution. Business risk is highest where OCaml services or tools process Marshal data from untrusted users, files, or network-adjacent workflows.

Executive priority

High priority for OCaml systems that ingest serialized data from users, partners, files, queues, or network paths. For isolated internal tooling, schedule prompt upgrade during normal maintenance but still validate no untrusted Marshal input exists.

Technical view

The issue is in OCaml runtime/intern.c readblock(), where missing bounds validation allows unbounded memcpy() using attacker-controlled lengths in crafted Marshal data. Sources map this to CWE-125 and CWE-126 and list affected OCaml before 4.14.3 and 5.x before 5.4.1.

Likely exposure

Exposure depends on OCaml runtime use and whether Marshal deserialization handles untrusted input. OCaml applications using only trusted, internal Marshal data have lower practical exposure, but should still update because misuse boundaries often change.

Exploitation context

The source bundle does not show CISA KEV listing or confirmed active exploitation. The CVSS vector provided is local, while the description references remote code execution through a chain; treat remote exploitability as source-claimed but context-dependent.

Researcher notes

Focus on trust-boundary analysis around Marshal inputs, not generic OCaml presence alone. Evidence identifies bounds-validation failure in readblock() and fixed version ranges, but the bundle does not provide exploit telemetry, detailed patch diff, or affected downstream package matrix.

Mitigation direction

  • Upgrade OCaml 4.14 deployments to 4.14.3 or later.
  • Upgrade OCaml 5.x deployments to 5.4.1 or later.
  • Avoid deserializing untrusted Marshal data where feasible.
  • Check Red Hat or distribution guidance for packaged OCaml status.
  • Document any unavoidable Marshal trust boundaries and compensating controls.

Validation and detection

  • Inventory OCaml runtime and compiler versions in production and build systems.
  • Review OCaml code paths that call Marshal deserialization on external data.
  • Confirm package or source builds include fixed OCaml versions.
  • Check distribution advisories for backported fixes or VEX status.
  • Monitor CVE, OSV, and vendor advisories for exploitation updates.
Prepared
Confidence
medium
Sources
7

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-125: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cwe · low confidence lookup

CWE-126: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-28364 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.9 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

2CVSS vectors
5Timeline events
2ADP providers
6Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

CVSS vector scores

2 official scores

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.9CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N2.54.7mitre
7.9CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N2.54.7redhat-SADP

Vulnerability scoring details

Base CVSS 3.1 score

7.9High
CVSS 3.1 vector shape for CVE-2026-28364Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. ADP timelineredhat-SADP

    Made public.

  3. CVE publishedCVE Program

    The CVE record was published.

  4. ADP timelineredhat-SADP

    Reported to Red Hat.

  5. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
redhat-SADPocaml: OCaml: Remote code execution via buffer over-read in Marshal deserialization
other:Red Hat severity ratingcvssV3_1
  • 2026-02-27T16:01:20.960Z: Reported to Red Hat.
  • 2026-02-27T03:54:53.458Z: Made public.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
OCamlOCaml0, 5.0.0unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-125 · source CWE mapping

Out-of-bounds Read

Out-of-bounds Read represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.

CWE-126 · source CWE mapping

Buffer Over-read

Buffer Over-read represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.