CVE-2012-0839Inria Ocaml
Medium 5.0 No auth needed
- Priority
- 45
- CVSS 2.0
- 5.0
- EPSS
- —
- Auth required
- No
- Published
- Feb 8, 2012
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- Vector
AV:N/AC:L/Au:N/C:N/I:N/A:P
What happens
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.
What to do
- Apply the vendor's security update for Ocaml.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| inria | ocaml | ≤ 3.12.1 |
| inria | ocaml | 1.07 |
| inria | ocaml | 2.02 |
| inria | ocaml | 2.04 |
| inria | ocaml | 2.99 |
| inria | ocaml | 3.00 |
| inria | ocaml | 3.01 |
| inria | ocaml | 3.02 |
| inria | ocaml | 3.03 |
| inria | ocaml | 3.04 |
| inria | ocaml | 3.05 |
| inria | ocaml | 3.06 |
| inria | ocaml | 3.07 |
| inria | ocaml | 3.07 |
| inria | ocaml | 3.07 |
| inria | ocaml | 3.07 |
| inria | ocaml | 3.08 |
| inria | ocaml | 3.09 |
| inria | ocaml | 3.10 |
| inria | ocaml | 3.11 |
| inria | ocaml | 3.12 |
Official sources
References
Links published by the sources. Open them with care.