CVE-2012-0840 EXPLOIT
5.0
MEDIUM · CVSS 2.0 · EPSS 42.1% (pctl 99)
Patch early
A public exploit exists.
Description
tables/apr_hash.c in the Apache Portable Runtime (APR) library through 1.4.5 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.
Scoring
| CVSS | 5.0 (MEDIUM, v2.0) |
|---|---|
| Vector | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| EPSS | 42.14% — more likely to be exploited than 99% of all CVEs |
| Weakness | CWE-20 |
| On CISA KEV | no |
| Public exploit | yes |
| Published | 2012-02-10 |
| Last modified | 2026-06-16 |
Affected (1)
| Vendor | Product |
|---|---|
| apache | portable runtime |
Public exploits
| Source | Title | Date |
|---|---|---|
| exploit-db | Apache APR - Hash Collision Denial of Service | 2012-01-05 |
References
- http://mail-archives.apache.org/mod_mbox/apr-commits/201201.mbox/%3C20120115003715.071D423888FD%40eris.apache.org%3E
- http://openwall.com/lists/oss-security/2012/02/08/3
- http://openwall.com/lists/oss-security/2012/02/09/1
- http://secunia.com/advisories/47862
- http://svn.apache.org/viewvc?rev=1231605&view=rev
- http://www.mail-archive.com/dev%40apr.apache.org/msg24439.html
- http://www.mail-archive.com/dev%40apr.apache.org/msg24472.html
- http://www.mail-archive.com/dev%40apr.apache.org/msg24473.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:019
- https://exchange.xforce.ibmcloud.com/vulnerabilities/73096
- http://mail-archives.apache.org/mod_mbox/apr-commits/201201.mbox/%3C20120115003715.071D423888FD%40eris.apache.org%3E
- http://openwall.com/lists/oss-security/2012/02/08/3
- http://openwall.com/lists/oss-security/2012/02/09/1
- http://secunia.com/advisories/47862
- http://svn.apache.org/viewvc?rev=1231605&view=rev
- http://www.mail-archive.com/dev%40apr.apache.org/msg24439.html
- http://www.mail-archive.com/dev%40apr.apache.org/msg24472.html
- http://www.mail-archive.com/dev%40apr.apache.org/msg24473.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:019
- https://exchange.xforce.ibmcloud.com/vulnerabilities/73096
→ the Explorer · watch your stack · NVD