CVE-2015-8869: OCaml before 4.03.0 does not properly handle sign extensions, which allows remote attackers to conduct buffer overflow attacks or obtain…
Noroxi assessment
Priority: Monitor (action score 38/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 5.3% (FIRST EPSS); higher than 92.7% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: ocaml (Debian:12) 4.02.3-9; ocaml (Debian:7) 3.12.1-4+deb7u1; libguestfs (Red Hat:enterprise_linux:6::client) 1:1.20.11-20.el6.
Low priority for now. Upgrade to ocaml (Debian:12) 4.02.3-9; ocaml (Debian:7) 3.12.1-4+deb7u1; libguestfs (Red Hat:enterprise_linux:6::client) 1:1.20.11-20.el6 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
OCaml before 4.03.0 does not properly handle sign extensions, which allows remote attackers to conduct buffer overflow attacks or obtain sensitive information as demonstrated by a long string to the String.copy function.
- Published
- Jun 13, 2016
- Updated
- Jun 16, 2026
- EPSS
- 5.3% · 92th percentile
- CWE
- CWE-119
Report tools
Action score
38
Low priority for now.
- CVSS
- 36 / 40 · 9.1 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 2 / 30 · 5.3%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| ocaml | ocaml | cpe:2.3:a:ocaml:ocaml |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| opensuse | opensuse | cpe:2.3:o:opensuse:opensuse |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- fedoraproject fedora24
- ocaml ocamlup to 4.02.3 inclusive
- opensuse opensuse13.2
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | ocaml | before 4.02.3-9 | 4.02.3-9 |
| Debian:7 | ocaml | before 3.12.1-4+deb7u1 | 3.12.1-4+deb7u1 |
| Red Hat:enterprise_linux:6::client | libguestfs | before 1:1.20.11-20.el6 | 1:1.20.11-20.el6 |
| Red Hat:enterprise_linux:6::client | libguestfs-debuginfo | before 1:1.20.11-20.el6 | 1:1.20.11-20.el6 |
| Red Hat:enterprise_linux:6::client | libguestfs-devel | before 1:1.20.11-20.el6 | 1:1.20.11-20.el6 |
| Red Hat:enterprise_linux:6::client | libguestfs-java | before 1:1.20.11-20.el6 | 1:1.20.11-20.el6 |
| Red Hat:enterprise_linux:6::client | libguestfs-java-devel | before 1:1.20.11-20.el6 | 1:1.20.11-20.el6 |
| Red Hat:enterprise_linux:6::client | libguestfs-javadoc | before 1:1.20.11-20.el6 | 1:1.20.11-20.el6 |
| Red Hat:enterprise_linux:6::client | libguestfs-tools | before 1:1.20.11-20.el6 | 1:1.20.11-20.el6 |
| Red Hat:enterprise_linux:6::client | libguestfs-tools-c | before 1:1.20.11-20.el6 | 1:1.20.11-20.el6 |
| Red Hat:enterprise_linux:6::client | ocaml | before 0:3.11.2-5.el6 | 0:3.11.2-5.el6 |
| Red Hat:enterprise_linux:6::client | ocaml-camlp4 | before 0:3.11.2-5.el6 | 0:3.11.2-5.el6 |
| Red Hat:enterprise_linux:6::client | ocaml-camlp4-devel | before 0:3.11.2-5.el6 | 0:3.11.2-5.el6 |
| Red Hat:enterprise_linux:6::client | ocaml-debuginfo | before 0:3.11.2-5.el6 | 0:3.11.2-5.el6 |
| Red Hat:enterprise_linux:6::client | ocaml-docs | before 0:3.11.2-5.el6 | 0:3.11.2-5.el6 |
| Red Hat:enterprise_linux:6::client | ocaml-emacs | before 0:3.11.2-5.el6 | 0:3.11.2-5.el6 |
| Red Hat:enterprise_linux:6::client | ocaml-labltk | before 0:3.11.2-5.el6 | 0:3.11.2-5.el6 |
| Red Hat:enterprise_linux:6::client | ocaml-labltk-devel | before 0:3.11.2-5.el6 | 0:3.11.2-5.el6 |
| Red Hat:enterprise_linux:6::client | ocaml-libguestfs | before 1:1.20.11-20.el6 | 1:1.20.11-20.el6 |
| Red Hat:enterprise_linux:6::client | ocaml-libguestfs-devel | before 1:1.20.11-20.el6 | 1:1.20.11-20.el6 |
| Red Hat:enterprise_linux:6::client | ocaml-ocamldoc | before 0:3.11.2-5.el6 | 0:3.11.2-5.el6 |
| Red Hat:enterprise_linux:6::client | ocaml-runtime | before 0:3.11.2-5.el6 | 0:3.11.2-5.el6 |
| Red Hat:enterprise_linux:6::client | ocaml-source | before 0:3.11.2-5.el6 | 0:3.11.2-5.el6 |
| Red Hat:enterprise_linux:6::client | ocaml-x11 | before 0:3.11.2-5.el6 | 0:3.11.2-5.el6 |
+46
Same product
ocaml: all recordsOther highest-scoring records for the same primary product.
- CVE-2018-9838The caml_ba_deserialize function in byterun/bigarray.c in the standard library in OCaml 4.06.0 has an integer overflow which, in situations…40Plan
- CVE-2017-9772Insufficient sanitisation in the OCaml compiler versions 4.04.0 and 4.04.1 allows external code to be executed with raised privilege in…40Plan
- CVE-2026-28364In 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…31Monitor
Published before and after this one in the same product
- Later →CVE-2017-9779Sep 7, 2017 · OCaml compiler allows attackers to have unspecified impact via unknown vectors, a similar issue to CVE-2017-9772 "but with much less impact.31Monitor
- Later →CVE-2026-34353Mar 27, 2026 · In OCaml through 4.14.3, Bigarray.reshape allows an integer overflow, and resultant reading of arbitrary memory, when untrusted data is…20Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:ocaml | 4.02.3-9 · Debian:12 | Package registry (OSV) |
| red hat:ocaml | 0:4.01.0-22.7.el7_2 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:ocaml-camlp4 | 0:4.01.0-22.7.el7_2 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:ocaml-camlp4-devel | 0:4.01.0-22.7.el7_2 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:ocaml-compiler-libs | 0:4.01.0-22.7.el7_2 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:ocaml-debuginfo | 0:4.01.0-22.7.el7_2 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:ocaml-docs | 0:4.01.0-22.7.el7_2 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:ocaml-emacs | 0:4.01.0-22.7.el7_2 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:ocaml-labltk | 0:4.01.0-22.7.el7_2 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:ocaml-labltk-devel | 0:4.01.0-22.7.el7_2 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:ocaml-ocamldoc | 0:4.01.0-22.7.el7_2 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:ocaml-runtime | 0:4.01.0-22.7.el7_2 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:ocaml-source | 0:4.01.0-22.7.el7_2 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| suse:ocaml | 4.02.1-3.4 · SUSE:Linux Enterprise Software Development Kit 11 SP4 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-119 · Improper Restriction of Operations within the Bounds of a Memory BufferCVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Overflow BuffersCAPEC-100likelihood: High · Very High
- Buffer ManipulationCAPEC-123likelihood: High · Very High
- Client-side Injection-induced Buffer OverflowCAPEC-14likelihood: Medium · High
- Filter Failure through Buffer OverflowCAPEC-24likelihood: High · High
- MIME ConversionCAPEC-42likelihood: High · High
- Overflow Binary Resource FileCAPEC-44likelihood: High · Very High
- Buffer Overflow via Symbolic LinksCAPEC-45likelihood: High · High
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (12 more)Show less
- lists.opensuse.org/opensuse-updates/2016-05/msg00081.html
- lists.opensuse.org/opensuse-updates/2016-09/msg00037.html
- rhn.redhat.com/errata/RHSA-2016-2576.html
- rhn.redhat.com/errata/RHSA-2017-0564.html
- rhn.redhat.com/errata/RHSA-2017-0565.html
- www.openwall.com/lists/oss-security/2016/04/29/1
- www.openwall.com/lists/oss-security/2016/04/29/6
- www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html
- www.securityfocus.com/bid/89318
- access.redhat.com/errata/RHSA-2016:1296
- github.com/ocaml/ocaml/commit/659615c7b100a89eafe6253e7a5b9d84d0e8df74#diff-a97df53e3ebc59bb457191b496c90762
- security.gentoo.org/glsa/201702-15
Vendor advisories and official records. Exploit/PoC links are deliberately left out.