UBUNTU-CVE-2026-28364

Source
https://ubuntu.com/security/CVE-2026-28364
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-28364.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-28364
Upstream
Published
2026-02-27T04:16:00Z
Modified
2026-03-09T11:14:00.207554Z
Severity
  • 7.9 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N CVSS Calculator
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
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.

References

Affected packages

Ubuntu:20.04:LTS
ocaml

Package

Name
ocaml
Purl
pkg:deb/ubuntu/ocaml@4.08.1-8?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.05.0-12ubuntu3
4.08.1-8

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"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-28364.json"
Ubuntu:22.04:LTS
ocaml

Package

Name
ocaml
Purl
pkg:deb/ubuntu/ocaml@4.13.1-3ubuntu1?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.11.1-4
4.11.1-5ubuntu1
4.13.1-3ubuntu1

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"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-28364.json"
Ubuntu:24.04:LTS
ocaml

Package

Name
ocaml
Purl
pkg:deb/ubuntu/ocaml@4.14.1-1ubuntu1?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.13.1-6ubuntu1
4.14.1-1ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcompiler-libs-ocaml-dev",
            "binary_version": "4.14.1-1ubuntu1"
        },
        {
            "binary_name": "libstdlib-ocaml",
            "binary_version": "4.14.1-1ubuntu1"
        },
        {
            "binary_name": "libstdlib-ocaml-dev",
            "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"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-28364.json"
Ubuntu:25.10
ocaml

Package

Name
ocaml
Purl
pkg:deb/ubuntu/ocaml@5.3.0-3?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

5.*
5.3.0-2
5.3.0-3

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcompiler-libs-ocaml-dev",
            "binary_version": "5.3.0-3"
        },
        {
            "binary_name": "libstdlib-ocaml",
            "binary_version": "5.3.0-3"
        },
        {
            "binary_name": "libstdlib-ocaml-dev",
            "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"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-28364.json"
Ubuntu:Pro:14.04:LTS
ocaml

Package

Name
ocaml
Purl
pkg:deb/ubuntu/ocaml@4.01.0-3ubuntu3.1+esm1?arch=source&distro=esm-infra-legacy/trusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.12.1-4ubuntu1
4.*
4.01.0-3ubuntu2
4.01.0-3ubuntu3
4.01.0-3ubuntu3.1
4.01.0-3ubuntu3.1+esm1

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"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-28364.json"
Ubuntu:Pro:16.04:LTS
ocaml

Package

Name
ocaml
Purl
pkg:deb/ubuntu/ocaml@4.02.3-5ubuntu2+esm1?arch=source&distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
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.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"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-28364.json"
Ubuntu:Pro:18.04:LTS
ocaml

Package

Name
ocaml
Purl
pkg:deb/ubuntu/ocaml@4.05.0-10ubuntu1+esm1?arch=source&distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.04.0-2ubuntu4
4.05.0-10ubuntu1
4.05.0-10ubuntu1+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"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-28364.json"