CVE-2026-34353
mediumpriority · track · 20EPSS 0.001 · 4 %ileEUUSEPSS · scored 2026-10-22
In OCaml through 4.14.3, Bigarray.reshape allows an integer overflow, and resultant reading of arbitrary memory, when untrusted data is processed.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- OSEC-2026-04Bigarray.reshape integer overflow2026-06-18vendor · osvUS
The function `caml_ba_reshape`, part of the OCaml runtime (in runtime/bigarray.c), had a missing check for integer overflow when computing the size to be allocated. This leads to a segmentation fault. Any application using `Bigarray.reshape` (or `reshape_N`) with untrusted and unchecked input can result in a segmentation fault. ## Timeline - 2026-06-18 security advisory released - 2026-06-15 OCaml 4.14.4 released - 2026-04-16 Florian Angeletti backported the fix to the 4.14 branch - 2026-04-15 Stephen Dolan proposed fix https://github.com/ocaml/ocaml/pull/14691 - 2026-03-18 Andriy Sultanov reported https://github.com/ocaml/ocaml/issues/14655
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://github.com/ocaml/ocaml/issues/14655cnnvd
- https://github.com/ocaml/ocaml/pull/14674cnnvd
- https://github.com/ocaml/ocaml/releasesPatchcnnvd
- https://github.com/ocaml/ocaml/issues/14655enisa_euvd
- https://github.com/ocaml/ocaml/pull/14674enisa_euvd
- https://github.com/ocaml/ocaml/issues/14655Issue Trackingnvd
- https://github.com/ocaml/ocaml/pull/14674Issue Trackingnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan