CVE-2026-28364

Name
CVE-2026-28364
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.
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
cve@mitre.org https://github.com/ocaml/security-advisories/blob/generated-osv/2026/OSEC-2026-01.json
cve@mitre.org https://osv.dev/vulnerability/OSEC-2026-01

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:ocaml:ocaml:*:*:*:*:*:*:*:* ocaml >= None < 4.14.3
cpe:2.3:a:ocaml:ocaml:*:*:*:*:*:*:*:* ocaml >= 5.0.0 < 5.4.1

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
ocaml edge-community 4.14.2-r2 omni <omni+alpine@hack.org> possibly vulnerable
ocaml edge-community 4.14.2-r1 omni <omni+alpine@hack.org> possibly vulnerable
ocaml 3.23-community 4.14.2-r2 omni <omni+alpine@hack.org> possibly vulnerable