DescriptionThe caml_ba_deserialize function in byterun/bigarray.c in the standard library in OCaml 4.06.0 has an integer overflow which, in situations where marshalled data is accepted from an untrusted source, allows remote attackers to cause a denial of service (memory corruption) or possibly execute arbitrary code via a crafted object.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severityhigh (attack range: remote)
Debian Bugs895472

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ocaml (PTS)jessie4.01.0-5vulnerable
buster, sid4.05.0-11fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs


[stretch] - ocaml <no-dsa> (Minor issue)
[jessie] - ocaml <no-dsa> (Minor issue)
[wheezy] - ocaml <no-dsa> (Minor issue)
Before 4.06.0+beta1 the code is present in otherlibs/bigarray/bigarray_stubs.c

Search for package or bug name: Reporting problems