Files
CVEs-PoC/2012/CVE-2012-0839.md
2025-09-29 21:09:30 +02:00

18 lines
768 B
Markdown

### [CVE-2012-0839](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0839)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brightgreen)
### 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.
### POC
#### Reference
- http://www.ocert.org/advisories/ocert-2011-003.html
#### Github
- https://github.com/andir/nixos-issue-db-example