CVE-2026-34353

NameCVE-2026-34353
DescriptionIn OCaml through 4.14.3, Bigarray.reshape allows an integer overflow, and resultant reading of arbitrary memory, when untrusted data is processed.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ocaml (PTS)bullseye4.11.1-4vulnerable
bookworm4.13.1-4vulnerable
trixie5.3.0-3fixed
forky, sid5.4.0-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ocamlsource(unstable)5.2.0-1

Notes

https://github.com/ocaml/ocaml/issues/14655
Fixed as side effect in: https://github.com/ocaml/ocaml/pull/11022
Fixed by: https://github.com/ocaml/ocaml/commit/c667d0e1c5284f5ec46ee4a99b149fa5ac5dfe30 (5.0.0-alpha0)
Backport for 4.13.y series: https://github.com/ocaml/ocaml/pull/14691

Search for package or bug name: Reporting problems