ubuntu-cve-2018-9838
Vulnerability from osv_ubuntu
Published
2018-04-06 18:29
Modified
2025-09-08 16:44
Summary
Details

The caml_ba_deserialize function in byterun/bigarray.c in the standard library in OCaml 4.06.0 has an integer overflow which, in situations where marshalled data is accepted from an untrusted source, allows remote attackers to cause a denial of service (memory corruption) or possibly execute arbitrary code via a crafted object.

Severity

{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "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=trusty/esm"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.01.0-3ubuntu3.1+esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.12.1-4ubuntu1",
        "4.01.0-3ubuntu2",
        "4.01.0-3ubuntu3",
        "4.01.0-3ubuntu3.1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "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"
            },
            {
              "fixed": "4.02.3-5ubuntu2+esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "4.01.0-4ubuntu1",
        "4.02.3-5ubuntu1",
        "4.02.3-5ubuntu2"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "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"
            },
            {
              "fixed": "4.05.0-10ubuntu1+esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "4.04.0-2ubuntu4",
        "4.05.0-10ubuntu1"
      ]
    }
  ],
  "aliases": [],
  "details": "The caml_ba_deserialize function in byterun/bigarray.c in the standard library in OCaml 4.06.0 has an integer overflow which, in situations where marshalled data is accepted from an untrusted source, allows remote attackers to cause a denial of service (memory corruption) or possibly execute arbitrary code via a crafted object.",
  "id": "UBUNTU-CVE-2018-9838",
  "modified": "2025-09-08T16:44:50Z",
  "published": "2018-04-06T18:29:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2018-9838"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-4778-1"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2018-9838"
    }
  ],
  "related": [
    "USN-4778-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "low",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2018-9838"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

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…

Detection rules are retrieved from Rulezet.

Loading…

Loading…