{"id":"CVE-2012-0839","aliases":["DEBIAN-CVE-2012-0839","EUVD-2012-0864","GHSA-7mh4-c5mx-6jq7","UBUNTU-CVE-2012-0839"],"status":"published","title":"OCaml 3.12.1 and earlier computes hash values without restricting the ability to trigger hash...","description":"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.","severity":{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-06","score":0.02654,"percentile":0.85729,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2012-02-08T20:00:00Z","modified":"2026-10-23T17:47:28Z","fixes":[{"ecosystem":"Debian:12","package":"ocaml","fixed_in":["4.00.0~beta2-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"ocaml","fixed_in":["4.00.0~beta2-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"ocaml","fixed_in":["4.00.0~beta2-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"ocaml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.00.0~beta2-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"ocaml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.00.0~beta2-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"ocaml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.00.0~beta2-1"}]}]}],"products":[{"vendor":"inria","product":"ocaml"}],"references":[{"url":"http://www.nruns.com/_downloads/advisory28122011.pdf","tags":["x_refsource_MISC","x_transferred","advisory","report"]},{"url":"http://www.mail-archive.com/caml-list%40inria.fr/msg01477.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://secunia.com/advisories/47853","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.mail-archive.com/caml-list%40inria.fr/msg01478.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://openwall.com/lists/oss-security/2012/02/07/2","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://openwall.com/lists/oss-security/2012/02/07/1","tags":["mailing-list","x_refsource_MLIST","x_transferred","web","report"]},{"url":"http://www.ocert.org/advisories/ocert-2011-003.html","tags":["x_refsource_MISC","x_transferred","advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-0839"},{"url":"http://www.mail-archive.com/caml-list@inria.fr/msg01477.html","tags":["report"]},{"url":"http://www.mail-archive.com/caml-list@inria.fr/msg01478.html"},{"url":"https://github.com/advisories/GHSA-7mh4-c5mx-6jq7"},{"url":"https://security-tracker.debian.org/tracker/CVE-2012-0839","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2012-0839","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-0839","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2012-0839","description":"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.","status":"published","published":"2012-02-08T20:00:00Z","modified":"2024-08-06T18:38:14.933Z","updated_at":"2026-11-02T14:34:52.638543Z"}],"euvd":[{"id":"EUVD-2012-0864","description":"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.","status":"published","published":"2012-02-08T20:00:00Z","modified":"2024-08-06T18:38:14Z","updated_at":"2026-11-03T01:56:19.818597Z"}],"ghsa":[{"id":"GHSA-7mh4-c5mx-6jq7","title":"OCaml 3.12.1 and earlier computes hash values without restricting the ability to trigger hash...","description":"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.","status":"published","published":"2022-05-17T05:32:58Z","modified":"2023-02-13T00:30:45Z","cwes":["CWE-20"],"updated_at":"2026-11-02T14:54:04.926808Z"}],"nvd":[{"id":"CVE-2012-0839","description":"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.","status":"published","published":"2012-02-08T20:55:00.797Z","modified":"2026-06-16T23:38:21.683Z","cvss":[{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:02:13.468343Z"}],"osv":[{"id":"CVE-2012-0839","description":"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.","status":"published","published":"2012-02-08T20:55:00Z","modified":"2026-04-10T03:42:12.119661Z","updated_at":"2026-11-02T15:43:58.537032Z"},{"id":"DEBIAN-CVE-2012-0839","description":"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.","status":"published","published":"2012-02-08T20:55:00.797Z","modified":"2026-10-23T17:47:28.597633859Z","updated_at":"2026-11-02T15:45:24.92418Z"},{"id":"UBUNTU-CVE-2012-0839","description":"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.","status":"withdrawn","published":"2012-02-08T20:55:00Z","modified":"2025-07-16T08:10:32.675703Z","updated_at":"2026-11-02T15:54:06.395274Z"}]}}
