CVE-2012-0839
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.
Exploit likelihood
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 List No 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-0864 No 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-6jq7 No 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
OSV No 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-0839 No 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-0839 No 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
Affected products
Affected packages
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
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.
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/[email protected]/msg01477.html
mail-archive.com/[email protected]/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