CVE-2012-0839
OCaml 3.12.1 and earlier computes hash values without restricting the ability to trigger hash...
CVE-2012-0839 is a medium vulnerability (CVSS 5.0) in Inria Ocaml, published February 8, 2012. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.65%, the 85th percentile. Fixed in ocaml 4.00.0~beta2-1.
- Severity
- 5.0 MediumCVSS 2.0, NVD
- Exploit chance
- 2.65%EPSS, 85th percentile
- Exploitation
- None knownNot on CISA’s or ENISA’s lists
- Fixed in
4.00.0~beta2-1ocaml +2 more
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.
Exploit likelihood
Affected products
Affected packages
What each source reports
NVD Score used 5.0
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.
- Record
CVE-2012-0839- CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-20
- Updated
- 2026-11-02
CVE ListNo score
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.
- Record
CVE-2012-0839- Updated
- 2026-11-02
EUVDEUVD-2012-0864No score
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.
- Record
EUVD-2012-0864- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-7mh4-c5mx-6jq7No score
OCaml 3.12.1 and earlier computes hash values without restricting the ability to trigger hash...
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.
- Record
GHSA-7mh4-c5mx-6jq7- Weakness
- CWE-20
- Updated
- 2026-11-02
OSVNo score
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.
- Record
CVE-2012-0839- Updated
- 2026-11-02
OSVDEBIAN-CVE-2012-0839No score
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.
- Record
DEBIAN-CVE-2012-0839- Updated
- 2026-11-02
OSVUBUNTU-CVE-2012-0839No score
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.
- Record
UBUNTU-CVE-2012-0839- Updated
- 2026-11-02
History
| Recorded | Changed | Sources |
|---|---|---|
| facts | ||
| affected | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
References
nruns.com/_downloads/advisory28122011.pdf
mail-archive.com/caml-list%40inria.fr/msg01477.html
secunia.com/advisories/47853
mail-archive.com/caml-list%40inria.fr/msg01478.html
openwall.com/lists/oss-security/2012/02/07/2
openwall.com/lists/oss-security/2012/02/07/1
Show 8 moreShow less
ocert.org/advisories/ocert-2011-003.html
nvd.nist.gov/vuln/detail/CVE-2012-0839
mail-archive.com/caml-list@inria.fr/msg01477.html
mail-archive.com/caml-list@inria.fr/msg01478.html
github.com/advisories/GHSA-7mh4-c5mx-6jq7
security-tracker.debian.org/tracker/CVE-2012-0839
ubuntu.com/security/CVE-2012-0839
cve.org/CVERecord?id=CVE-2012-0839