Home / Ocaml / Ocaml / CVE-2017-9772
CVE-2017-9772: is it exploited, and which versions of Ocaml are affected and fixed?
CVE-2017-9772 is a vulnerability in Ocaml. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 06:38 UTC). Affected: ocaml 4.04.0 and ocaml 4.04.1 (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Critical (9.8, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 06:38 UTC, CVE record November 19, 2026, 07:18 UTC and NVD November 19, 2026, 08:40 UTC.
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.
From the CVE record by mitre, last updated August 5, 2024, 17:18 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| ocaml | ocaml | 4.04.0 | application |
| ocaml | ocaml | 4.04.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 01:28 UTC.
How severe is CVE-2017-9772?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 10.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2017-9772 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 3.50% probability of exploitation activity in the next 30 days, percentile 89.5 (FIRST EPSS, scores of December 2, 2026)
Where are the vendor advisories and references?
- https://caml.inria.fr/mantis/view.php?id=7557 x_refsource_CONFIRM
- https://sympa.inria.fr/sympa/arc/caml-list/2017-06/msg00094.html x_refsource_CONFIRM
- 99277 vdb-entry, x_refsource_BID
- GLSA-201710-07 vendor-advisory, x_refsource_GENTOO
When was it published, and where is the official record?
- Reserved
- June 21, 2017
- Published
- June 23, 2017, 20:00 UTC
- CVE record updated
- August 5, 2024, 17:18 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 01:28 UTC
- Last checked
- CVE list November 19, 2026, 07:18 UTC; NVD November 19, 2026, 08:40 UTC; KEV December 3, 2026, 06:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Ocaml?
- Mar 27, 2026CVE-2026-34353 OCaml: integer overflow
- Feb 27, 2026CVE-2026-28364 OCaml: buffer Over-read
- Apr 6, 2018CVE-2018-9838 Ocaml: integer overflow
- Sep 7, 2017CVE-2017-9779 Ocaml: n/a
- Jun 13, 2016CVE-2015-8869 Fedoraproject Fedora: memory corruption (buffer overflow)
Questions about CVE-2017-9772
Is CVE-2017-9772 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 06:38 UTC. FIRST's EPSS gives it a 3.50% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Ocaml are affected by CVE-2017-9772?
ocaml 4.04.0 and ocaml 4.04.1, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2017-9772?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2017-9772?
Critical (9.8, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2017-9772?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.