# CVE-2026-28364: Buffer Over-Read in OCaml Marshal Deserialization

- Severity: High 7.9 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2026-02-17T13:30:00.000Z
- Modified: 2026-11-19T10:30:04.555Z
- Also known as: OSEC-2026-01, GHSA-j26j-m5xr-g23c, GHSA-m34r-cgq7-jhfm, OSEC-2026-18, OSEC-2026-23
- Weaknesses: CWE-125, CWE-126
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- OCaml OCaml: before 4.14.3; from 5.0.0 before 5.4.1
- ocaml: no versions given
- ocaml (opam): before 4.14.3; from 5.0.0 before 5.4.1; before 4.14.4; from 5.0.0 before 5.5.1; before 4.14.5; from 5.0.0 before 5.5.2
- https://github.com/ocaml/ocaml: before b0a2614684a52acded784ec213f14ddfe085d146; before e3919fef436f89271bc30bbe8592851f7289fb68; before 508d35d970a70a39ea2c9d9241ae4587a9b3a96a; before 3aa27e4d2522950b2fe2acf868591209e93d1377; before 928e7c8a950db8730e8e84105d3be347cae38f5c; before 304654884d0c90b2e4ab673ff88caef38b05c714; before 428288660cc1f655605347e09e2fbc0b0a404660; before 7da997d28b1ac57dd3a7108a865b327493fd4239; before 709b0ab93e53d54297b42d897d74dced1e9c75a5; before 58c796104b15bce0a3b931eb1a1ffd185c7c8ff6

## Every score

- mitre: CVSS:3.1 7.9 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N`
- redhat-SADP: CVSS:3.1 7.9 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N`
- OCaml Security Advisories: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- NVD: 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`

## References

- <https://github.com/ocaml/security-advisories/blob/generated-osv/2026/OSEC-2026-01.json> (vendor-advisory)
- <https://osv.dev/vulnerability/OSEC-2026-01> (third-party-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-28364> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2443348> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-28364.json>
- <https://github.com/ocaml/security-advisories/security/advisories/GHSA-j26j-m5xr-g23c> (report)
- <https://github.com/ocaml/ocaml/pull/15019> (fix)
- <https://github.com/ocaml/ocaml/pull/15030> (fix)

## Sources

- CVE List: [CVE-2026-28364](https://www.cve.org/CVERecord?id=CVE-2026-28364), CVE Terms of Use, modified 2026-07-15
- OCaml Security Advisories: [OSEC-2026-01](https://osv.dev/vulnerability/OSEC-2026-01), CC0-1.0, modified 2026-11-19
- OCaml Security Advisories: [OSEC-2026-18](https://osv.dev/vulnerability/OSEC-2026-18), CC0-1.0, modified 2026-11-19
- OCaml Security Advisories: [OSEC-2026-23](https://osv.dev/vulnerability/OSEC-2026-23), CC0-1.0, modified 2026-11-19
- NVD: [CVE-2026-28364](https://nvd.nist.gov/vuln/detail/CVE-2026-28364), Public domain, modified 2026-07-15

---

Page: https://cve.day/CVE-2026-28364 · Whole record: https://cve.day/CVE-2026-28364.json · Rebuilt by cve.day 2026-11-25T22:59:15.014Z
