ubuntu-cve-2026-28364
Vulnerability from osv_ubuntu
Published
2026-02-27 04:16
Modified
2026-07-24 13:10
Summary
Details
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
7.9 (High)
7.9 (High)
7.8 (High)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "camlp4",
"binary_version": "4.01.0-3ubuntu3.1+esm1"
},
{
"binary_name": "camlp4-extra",
"binary_version": "4.01.0-3ubuntu3.1+esm1"
},
{
"binary_name": "ocaml",
"binary_version": "4.01.0-3ubuntu3.1+esm1"
},
{
"binary_name": "ocaml-base",
"binary_version": "4.01.0-3ubuntu3.1+esm1"
},
{
"binary_name": "ocaml-base-nox",
"binary_version": "4.01.0-3ubuntu3.1+esm1"
},
{
"binary_name": "ocaml-compiler-libs",
"binary_version": "4.01.0-3ubuntu3.1+esm1"
},
{
"binary_name": "ocaml-interp",
"binary_version": "4.01.0-3ubuntu3.1+esm1"
},
{
"binary_name": "ocaml-mode",
"binary_version": "4.01.0-3ubuntu3.1+esm1"
},
{
"binary_name": "ocaml-native-compilers",
"binary_version": "4.01.0-3ubuntu3.1+esm1"
},
{
"binary_name": "ocaml-nox",
"binary_version": "4.01.0-3ubuntu3.1+esm1"
},
{
"binary_name": "ocaml-source",
"binary_version": "4.01.0-3ubuntu3.1+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:14.04:LTS",
"name": "ocaml",
"purl": "pkg:deb/ubuntu/ocaml@4.01.0-3ubuntu3.1+esm1?arch=source\u0026distro=esm-infra-legacy/trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.12.1-4ubuntu1",
"4.01.0-3ubuntu2",
"4.01.0-3ubuntu3",
"4.01.0-3ubuntu3.1",
"4.01.0-3ubuntu3.1+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ocaml",
"binary_version": "4.02.3-5ubuntu2+esm1"
},
{
"binary_name": "ocaml-base",
"binary_version": "4.02.3-5ubuntu2+esm1"
},
{
"binary_name": "ocaml-base-nox",
"binary_version": "4.02.3-5ubuntu2+esm1"
},
{
"binary_name": "ocaml-compiler-libs",
"binary_version": "4.02.3-5ubuntu2+esm1"
},
{
"binary_name": "ocaml-interp",
"binary_version": "4.02.3-5ubuntu2+esm1"
},
{
"binary_name": "ocaml-mode",
"binary_version": "4.02.3-5ubuntu2+esm1"
},
{
"binary_name": "ocaml-native-compilers",
"binary_version": "4.02.3-5ubuntu2+esm1"
},
{
"binary_name": "ocaml-nox",
"binary_version": "4.02.3-5ubuntu2+esm1"
},
{
"binary_name": "ocaml-source",
"binary_version": "4.02.3-5ubuntu2+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "ocaml",
"purl": "pkg:deb/ubuntu/ocaml@4.02.3-5ubuntu2+esm1?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4.01.0-4ubuntu1",
"4.02.3-5ubuntu1",
"4.02.3-5ubuntu2",
"4.02.3-5ubuntu2+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ocaml",
"binary_version": "4.05.0-10ubuntu1+esm1"
},
{
"binary_name": "ocaml-base",
"binary_version": "4.05.0-10ubuntu1+esm1"
},
{
"binary_name": "ocaml-base-nox",
"binary_version": "4.05.0-10ubuntu1+esm1"
},
{
"binary_name": "ocaml-compiler-libs",
"binary_version": "4.05.0-10ubuntu1+esm1"
},
{
"binary_name": "ocaml-interp",
"binary_version": "4.05.0-10ubuntu1+esm1"
},
{
"binary_name": "ocaml-mode",
"binary_version": "4.05.0-10ubuntu1+esm1"
},
{
"binary_name": "ocaml-nox",
"binary_version": "4.05.0-10ubuntu1+esm1"
},
{
"binary_name": "ocaml-source",
"binary_version": "4.05.0-10ubuntu1+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "ocaml",
"purl": "pkg:deb/ubuntu/ocaml@4.05.0-10ubuntu1+esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4.04.0-2ubuntu4",
"4.05.0-10ubuntu1",
"4.05.0-10ubuntu1+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ocaml",
"binary_version": "4.08.1-8"
},
{
"binary_name": "ocaml-base",
"binary_version": "4.08.1-8"
},
{
"binary_name": "ocaml-base-nox",
"binary_version": "4.08.1-8"
},
{
"binary_name": "ocaml-compiler-libs",
"binary_version": "4.08.1-8"
},
{
"binary_name": "ocaml-interp",
"binary_version": "4.08.1-8"
},
{
"binary_name": "ocaml-man",
"binary_version": "4.08.1-8"
},
{
"binary_name": "ocaml-nox",
"binary_version": "4.08.1-8"
},
{
"binary_name": "ocaml-source",
"binary_version": "4.08.1-8"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "ocaml",
"purl": "pkg:deb/ubuntu/ocaml@4.08.1-8?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4.05.0-12ubuntu3",
"4.08.1-8"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ocaml",
"binary_version": "4.13.1-3ubuntu1"
},
{
"binary_name": "ocaml-base",
"binary_version": "4.13.1-3ubuntu1"
},
{
"binary_name": "ocaml-base-nox",
"binary_version": "4.13.1-3ubuntu1"
},
{
"binary_name": "ocaml-compiler-libs",
"binary_version": "4.13.1-3ubuntu1"
},
{
"binary_name": "ocaml-interp",
"binary_version": "4.13.1-3ubuntu1"
},
{
"binary_name": "ocaml-man",
"binary_version": "4.13.1-3ubuntu1"
},
{
"binary_name": "ocaml-nox",
"binary_version": "4.13.1-3ubuntu1"
},
{
"binary_name": "ocaml-source",
"binary_version": "4.13.1-3ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "ocaml",
"purl": "pkg:deb/ubuntu/ocaml@4.13.1-3ubuntu1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4.11.1-4",
"4.11.1-5ubuntu1",
"4.13.1-3ubuntu1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libstdlib-ocaml",
"binary_version": "4.14.1-1ubuntu1"
},
{
"binary_name": "ocaml",
"binary_version": "4.14.1-1ubuntu1"
},
{
"binary_name": "ocaml-base",
"binary_version": "4.14.1-1ubuntu1"
},
{
"binary_name": "ocaml-base-nox",
"binary_version": "4.14.1-1ubuntu1"
},
{
"binary_name": "ocaml-compiler-libs",
"binary_version": "4.14.1-1ubuntu1"
},
{
"binary_name": "ocaml-interp",
"binary_version": "4.14.1-1ubuntu1"
},
{
"binary_name": "ocaml-man",
"binary_version": "4.14.1-1ubuntu1"
},
{
"binary_name": "ocaml-nox",
"binary_version": "4.14.1-1ubuntu1"
},
{
"binary_name": "ocaml-source",
"binary_version": "4.14.1-1ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "ocaml",
"purl": "pkg:deb/ubuntu/ocaml@4.14.1-1ubuntu1?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4.13.1-6ubuntu1",
"4.14.1-1ubuntu1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libstdlib-ocaml",
"binary_version": "5.3.0-3"
},
{
"binary_name": "ocaml",
"binary_version": "5.3.0-3"
},
{
"binary_name": "ocaml-base",
"binary_version": "5.3.0-3"
},
{
"binary_name": "ocaml-base-nox",
"binary_version": "5.3.0-3"
},
{
"binary_name": "ocaml-compiler-libs",
"binary_version": "5.3.0-3"
},
{
"binary_name": "ocaml-interp",
"binary_version": "5.3.0-3"
},
{
"binary_name": "ocaml-man",
"binary_version": "5.3.0-3"
},
{
"binary_name": "ocaml-nox",
"binary_version": "5.3.0-3"
},
{
"binary_name": "ocaml-source",
"binary_version": "5.3.0-3"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "ocaml",
"purl": "pkg:deb/ubuntu/ocaml@5.3.0-3?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.3.0-2",
"5.3.0-3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libstdlib-ocaml",
"binary_version": "5.4.0-3ubuntu1"
},
{
"binary_name": "ocaml",
"binary_version": "5.4.0-3ubuntu1"
},
{
"binary_name": "ocaml-base",
"binary_version": "5.4.0-3ubuntu1"
},
{
"binary_name": "ocaml-interp",
"binary_version": "5.4.0-3ubuntu1"
},
{
"binary_name": "ocaml-man",
"binary_version": "5.4.0-3ubuntu1"
},
{
"binary_name": "ocaml-source",
"binary_version": "5.4.0-3ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "ocaml",
"purl": "pkg:deb/ubuntu/ocaml@5.4.0-3ubuntu1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.3.0-3",
"5.4.0-1ubuntu1",
"5.4.0-2ubuntu1",
"5.4.0-3ubuntu1"
]
}
],
"aliases": [],
"details": "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.",
"id": "UBUNTU-CVE-2026-28364",
"modified": "2026-07-24T13:10:21Z",
"published": "2026-02-27T04:16:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-28364"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-28364"
},
{
"type": "REPORT",
"url": "https://osv.dev/vulnerability/OSEC-2026-01"
},
{
"type": "REPORT",
"url": "https://github.com/ocaml/security-advisories/blob/generated-osv/2026/OSEC-2026-01.json"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-28364"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
Loading…
Loading…