CVE-2026-34353 Details
Description
In OCaml through 4.14.3, Bigarray.reshape allows an integer overflow, and resultant reading of arbitrary memory, when untrusted data is processed.
A vulnerability exists in OCaml versions through 4.14.3 within the Bigarray module's reshape function. This issue arises from improper handling of integer overflow, which can lead to reading uninitialized memory when processing untrusted data. In contrast, OCaml version 5.3.0 correctly manages this scenario by throwing an 'Out of memory' exception, indicating that the vulnerability has been addressed in this later version.
Users can upgrade to OCaml version 5.3.0 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 27, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/ocaml/ocaml/issues/14655 | [email protected] | Issue Tracking |
| https://github.com/ocaml/ocaml/pull/14674 | [email protected] | Issue Tracking |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-190 | Integer Overflow or Wraparound | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| ocaml ocaml | <= 4.14.3 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 14, 2026 | Initial Analysis | [email protected] |
| Mar 27, 2026 | New CVE Received | [email protected] |