Read the docs
TI-2026-22643 Aliases CVE-2026-28364GHSA-g54x-7hpm-29q8

In OCaml before 4.14.3 and 5.x before 5.4.1, a buffer over-read in Marshal…

Priority LOW 34CWE-126Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · Low · None
Fix status
Partial Red Hat: 5 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00241 15th percentileScored 2026-11-07
Fix Partial OCaml (OCaml): 4.14.3, 5.4.1Red Hat: 5 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
OCamlOCamlbefore 4.14.3; 5.0.0 to before 5.4.14.14.3, 5.4.1Patch availableCNA
  • OCaml VendorOCaml Affected before 4.14.3; 5.0.0 to before 5.4.1 Fixed in 4.14.3, 5.4.1 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:ocaml:ocaml:*:*:*:*:*:*:*:*before 4.14.3; 5.0.0 to before 5.4.1VulnerableOCaml
  • cpe:2.3:a:ocaml:ocaml:*:*:*:*:*:*:*:* Versions before 4.14.3; 5.0.0 to before 5.4.1 Vulnerable ·OCaml

Remediation

  • Fix · CNA OCaml (OCaml) Fixed in 4.14.3, 5.4.1

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 10AffectedNo fix yet
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 8AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 9AffectedNo fix planned: Will not fix
Not affected: 1 product
  • Red Hat Hardened Images

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-28364
  2. 2026-10-03 Alias added: GHSA-g54x-7hpm-29q8

References

  • TI-2018-07003 The caml_ba_deserialize function in byterun/bigarray.c in the standard library in OCaml… CVSS 3.0CRITICAL 9.8
  • TI-2017-07154 Insufficient sanitisation in the OCaml compiler versions 4.04.0 and 4.04.1 allows… CVSS 3.0CRITICAL 9.8
  • TI-2015-07299 OCaml before 4.03.0 does not properly handle sign extensions, which allows remote… CVSS 3.0CRITICAL 9.1
  • TI-2017-07160 OCaml compiler allows attackers to have unspecified impact via unknown vectors, a similar… CVSS 3.0HIGH 7.8
  • TI-2026-26640 Integer overflow in OCaml CVSS 3.1MEDIUM 5.9

Sources