CVE-2026-28364
CVE-2026-28364 is a high-severity vulnerability in Ocaml with a CVSS 3.x base score of 7.9. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-126.
Key facts
- Severity: High (CVSS 3.x base score 7.9)
- EPSS exploit prediction: 0% (11th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-8988
- Weakness: CWE-126
- Affected product: Ocaml
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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.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.
- How severe is CVE-2026-28364?
- CVE-2026-28364 has a CVSS 3.x base score of 7.9, rated high severity. It is exploitable over local access with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity low, and availability none.
- Is CVE-2026-28364 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (11th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-28364?
- CVE-2026-28364 affects Ocaml. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-28364?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2026-28364 have an EU (EUVD) identifier?
- Yes. CVE-2026-28364 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-8988.
- When was CVE-2026-28364 published?
- CVE-2026-28364 was published on 2026-02-27 and last updated on 2026-06-30.
References
- https://github.com/ocaml/security-advisories/blob/generated-osv/2026/OSEC-2026-01.json
- https://osv.dev/vulnerability/OSEC-2026-01
- https://access.redhat.com/security/cve/CVE-2026-28364
- https://bugzilla.redhat.com/show_bug.cgi?id=2443348
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-28364.json
Affected products (1)
- cpe:2.3:a:ocaml:ocaml:*:*:*:*:*:*:*:*
More vulnerabilities in Ocaml
- CVE-2018-9838 — Critical (CVSS 9.8): The caml_ba_deserialize function in byterun/bigarray.c in the standard library in OCaml 4.06.0 has an integer overflow…
- CVE-2017-9772 — Critical (CVSS 9.8): Insufficient sanitisation in the OCaml compiler versions 4.04.0 and 4.04.1 allows external code to be executed with…
- CVE-2015-8869 — Critical (CVSS 9.1): OCaml before 4.03.0 does not properly handle sign extensions, which allows remote attackers to conduct buffer overflow…
- CVE-2017-9779 — High (CVSS 7.8): OCaml compiler allows attackers to have unspecified impact via unknown vectors, a similar issue to CVE-2017-9772 "but…
- CVE-2026-34353 — Medium (CVSS 5.9): In OCaml through 4.14.3, Bigarray.reshape allows an integer overflow, and resultant reading of arbitrary memory, when…
Other CWE-126 (Buffer Over-read) vulnerabilities
- CVE-2026-41898 — Critical (CVSS 9.8): rust-openssl provides OpenSSL bindings for the Rust programming language. From 0.9.24 to before 0.10.78, the FFI…
- CVE-2023-36397 — Critical (CVSS 9.8): Windows Pragmatic General Multicast (PGM) Remote Code Execution Vulnerability
- CVE-2025-12106 — Critical (CVSS 9.1): Insufficient argument validation in OpenVPN 2.7_alpha1 through 2.7_rc1 allows an attacker to trigger a heap buffer…
- CVE-2023-51773 — Critical (CVSS 9.1): BACnet Stack before 1.3.2 has a decode function APDU buffer over-read in bacapp_decode_application_data in bacapp.c.
- CVE-2021-34584 — Critical (CVSS 9.1): Crafted web server requests can be utilised to read partial stack or heap memory or may trigger a denial-of- service…
- CVE-2025-36855 — High (CVSS 8.8): A vulnerability ( CVE-2025-21176 https://www.cve.org/CVERecord ) exists in DiaSymReader.dll due to buffer over-read.…