Every CVE Search/ Get API key

CVE-2012-0839

OCaml 3.12.1 and earlier computes hash values without restricting the ability to trigger hash...

5.0 MediumFix available

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

2.65%Up 1.5 points since Feb 4, 2022
90%50%10%1%

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 MediumAV: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

Affected packages
PackageAffectedFixed
ocaml
Debian:12
before 4.00.0~beta2-1
4.00.0~beta2-1
ocaml
Debian:13
before 4.00.0~beta2-1
4.00.0~beta2-1
ocaml
Debian:14
before 4.00.0~beta2-1
4.00.0~beta2-1

History

History
RecordedChangedSources
affected
aliasesEUVD
first indexedCVE 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

Show 8 moreShow less
MoveEnter Open