CVE-2017-9772
CVE-2017-9772 is a critical-severity vulnerability in Ocaml with a CVSS 3.x base score of 9.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low.
Key facts
- Severity: Critical (CVSS 3.x base score 9.8)
- CVSS v2: 10.0
- EPSS exploit prediction: 3% (88th percentile)
- Actively exploited: Not listed in CISA KEV
- Affected product: Ocaml
- Published:
- Last modified:
Description
Insufficient sanitisation in the OCaml compiler versions 4.04.0 and 4.04.1 allows external code to be executed with raised privilege in binaries marked as setuid, by setting the CAML_CPLUGINS, CAML_NATIVE_CPLUGINS, or CAML_BYTE_CPLUGINS environment variable.
Frequently asked questions
- What is CVE-2017-9772?
- Insufficient sanitisation in the OCaml compiler versions 4.04.0 and 4.04.1 allows external code to be executed with raised privilege in binaries marked as setuid, by setting the CAML_CPLUGINS, CAML_NATIVE_CPLUGINS, or CAML_BYTE_CPLUGINS environment variable.
- How severe is CVE-2017-9772?
- CVE-2017-9772 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2017-9772 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 3% (88th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2017-9772?
- CVE-2017-9772 primarily affects Ocaml. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2017-9772?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- When was CVE-2017-9772 published?
- CVE-2017-9772 was published on 2017-06-23 and last updated on 2026-06-17.
References
- http://www.securityfocus.com/bid/99277
- https://caml.inria.fr/mantis/view.php?id=7557
- https://security.gentoo.org/glsa/201710-07
- https://sympa.inria.fr/sympa/arc/caml-list/2017-06/msg00094.html
Affected products (2)
- cpe:2.3:a:ocaml:ocaml:4.04.0:*:*:*:*:*:*:*
- cpe:2.3:a:ocaml:ocaml:4.04.1:*:*:*:*:*:*:*
More vulnerabilities in Ocaml
- CVE-2018-9838 — Critical (CVSS 9.8): The caml_ba_deserialize function in byterun/bigarray.c in the standard library in OCaml 4.06.0 has an integer overflow…
- CVE-2015-8869 — Critical (CVSS 9.1): OCaml before 4.03.0 does not properly handle sign extensions, which allows remote attackers to conduct buffer overflow…
- CVE-2026-28364 — High (CVSS 7.9): In OCaml before 4.14.3 and 5.x before 5.4.1, a buffer over-read in Marshal deserialization (runtime/intern.c) enables…
- CVE-2017-9779 — High (CVSS 7.8): OCaml compiler allows attackers to have unspecified impact via unknown vectors, a similar issue to CVE-2017-9772 "but…
- CVE-2026-34353 — Medium (CVSS 5.9): In OCaml through 4.14.3, Bigarray.reshape allows an integer overflow, and resultant reading of arbitrary memory, when…