Every CVESearch/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

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

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

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

What each source reports

NVD Score used5.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 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

History
RecordedChangedSources
facts
affected
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

References

Show 8 moreShow less
MoveEnter Open