cve.bz

CVE-2026-28364 ocaml ocaml: Buffer Over-read

7.8 highEPSS 0.2%

High (7.8) in ocaml ocaml. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 15th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-02-27. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-126 Buffer Over-read
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-28364 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-28364?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-28364?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-28364 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
OCamlbefore 4.14.3
OCamlfrom 5.0.0 before 5.4.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13ocamlno fix listedDEBIAN-CVE-2026-28364
Debian14ocaml5.4.1-1DEBIAN-CVE-2026-28364
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 6 moreocamlno fix listedUBUNTU-CVE-2026-28364
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 moreocaml4.05.0-150200.15.3.1SUSE-SU-2026:0800-1
SUSELinux Enterprise Module for Development Tools 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6ocaml4.14.2-150600.3.3.1SUSE-SU-2026:0830-1
openSUSELeap 15.6ocaml4.14.2-150600.3.3.1SUSE-SU-2026:0830-1
openSUSELeap 16.0ocaml4.14.2-160000.4.1openSUSE-SU-2026:20368-1
openSUSETumbleweedocaml4.14.4-1.1openSUSE-SU-2026:11136-1
Azure Linux2ocamlno fix listedAZL-79502
Azure Linux3ocaml5.1.1-2AZL-78495

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10ocamlAffected
Red Hat Enterprise Linux 6ocamlOut of support scope
Red Hat Enterprise Linux 7ocamlWill not fix
Red Hat Enterprise Linux 8ocamlWill not fix
Red Hat Enterprise Linux 9ocamlWill not fix
Red Hat Hardened ImagesocamlNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-28364.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

  • Akshay-M-Singh/ocaml-marshal-vulnerability Harbor Check: matches CVE 0 stars, created
    I found an integer overflow that defeats OCaml's fix for CVE-2026-28364: heap memory disclosure and SIGBUS crashes via Marshal deserializat…

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON