{"id":"UBUNTU-CVE-2015-8869","details":"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.","modified":"2026-01-30T01:35:44.270966Z","published":"2016-06-13T00:00:00Z","related":["USN-3437-1","USN-4778-1"],"upstream":["CVE-2015-8869"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2015-8869"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2016/04/29/1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3437-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2015-8869"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4778-1"}],"affected":[{"package":{"name":"ocaml","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/ocaml@4.01.0-3ubuntu3.1?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.01.0-3ubuntu3.1"}]}],"versions":["3.12.1-4ubuntu1","4.01.0-3ubuntu2","4.01.0-3ubuntu3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"camlp4","binary_version":"4.01.0-3ubuntu3.1"},{"binary_name":"camlp4-extra","binary_version":"4.01.0-3ubuntu3.1"},{"binary_name":"ocaml","binary_version":"4.01.0-3ubuntu3.1"},{"binary_name":"ocaml-base","binary_version":"4.01.0-3ubuntu3.1"},{"binary_name":"ocaml-base-nox","binary_version":"4.01.0-3ubuntu3.1"},{"binary_name":"ocaml-compiler-libs","binary_version":"4.01.0-3ubuntu3.1"},{"binary_name":"ocaml-interp","binary_version":"4.01.0-3ubuntu3.1"},{"binary_name":"ocaml-mode","binary_version":"4.01.0-3ubuntu3.1"},{"binary_name":"ocaml-native-compilers","binary_version":"4.01.0-3ubuntu3.1"},{"binary_name":"ocaml-nox","binary_version":"4.01.0-3ubuntu3.1"},{"binary_name":"ocaml-source","binary_version":"4.01.0-3ubuntu3.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2015/UBUNTU-CVE-2015-8869.json"}},{"package":{"name":"ocaml","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/ocaml@4.02.3-5ubuntu2+esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.02.3-5ubuntu2+esm1"}]}],"versions":["4.01.0-4ubuntu1","4.02.3-5ubuntu1","4.02.3-5ubuntu2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"ocaml","binary_version":"4.02.3-5ubuntu2+esm1"},{"binary_name":"ocaml-base","binary_version":"4.02.3-5ubuntu2+esm1"},{"binary_name":"ocaml-base-nox","binary_version":"4.02.3-5ubuntu2+esm1"},{"binary_name":"ocaml-compiler-libs","binary_version":"4.02.3-5ubuntu2+esm1"},{"binary_name":"ocaml-interp","binary_version":"4.02.3-5ubuntu2+esm1"},{"binary_name":"ocaml-mode","binary_version":"4.02.3-5ubuntu2+esm1"},{"binary_name":"ocaml-native-compilers","binary_version":"4.02.3-5ubuntu2+esm1"},{"binary_name":"ocaml-nox","binary_version":"4.02.3-5ubuntu2+esm1"},{"binary_name":"ocaml-source","binary_version":"4.02.3-5ubuntu2+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2015/UBUNTU-CVE-2015-8869.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}