{"id":"UBUNTU-CVE-2012-0839","details":"OCaml 3.12.1 and earlier computes hash values without restricting the ability to trigger hash collisions predictably, which allows context-dependent attackers to cause a denial of service (CPU consumption) via crafted input to an application that maintains a hash table.","modified":"2025-07-16T08:10:32.675703Z","published":"2012-02-08T20:55:00Z","withdrawn":"2025-07-18T16:42:45Z","upstream":["CVE-2012-0839"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2012-0839"},{"type":"REPORT","url":"http://www.ocert.org/advisories/ocert-2011-003.html"},{"type":"REPORT","url":"http://www.nruns.com/_downloads/advisory28122011.pdf"},{"type":"REPORT","url":"http://www.mail-archive.com/caml-list@inria.fr/msg01477.html"},{"type":"REPORT","url":"http://openwall.com/lists/oss-security/2012/02/07/1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2012-0839"}],"affected":[{"package":{"name":"ocaml","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/ocaml@4.01.0-3ubuntu3?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.01.0-3ubuntu3"}]}],"versions":["3.12.1-4ubuntu1","4.01.0-3ubuntu2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"camlp4","binary_version":"4.01.0-3ubuntu3"},{"binary_name":"camlp4-extra","binary_version":"4.01.0-3ubuntu3"},{"binary_name":"ocaml","binary_version":"4.01.0-3ubuntu3"},{"binary_name":"ocaml-base","binary_version":"4.01.0-3ubuntu3"},{"binary_name":"ocaml-base-nox","binary_version":"4.01.0-3ubuntu3"},{"binary_name":"ocaml-compiler-libs","binary_version":"4.01.0-3ubuntu3"},{"binary_version":"4.01.0-3ubuntu3","binary_name":"ocaml-interp"},{"binary_name":"ocaml-mode","binary_version":"4.01.0-3ubuntu3"},{"binary_name":"ocaml-native-compilers","binary_version":"4.01.0-3ubuntu3"},{"binary_name":"ocaml-nox","binary_version":"4.01.0-3ubuntu3"},{"binary_name":"ocaml-source","binary_version":"4.01.0-3ubuntu3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2012/UBUNTU-CVE-2012-0839.json"}}],"schema_version":"1.7.3","severity":[{"type":"Ubuntu","score":"low"}]}