What’s Vulnerable › Vulnerabilities
CVE-2012-0840
- Severity: medium (CVSS 5.0 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 42.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2012-02-10 · updated 2026-06-16
- Weakness: CWE-20
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.
Affected products
- Apache Software Foundation Apache Portable Runtime (APR): through 1.4.5; 0.9.1, 0.9.2, 0.9.2-dev, 0.9.3, 0.9.3-dev, 0.9.4 (+28)
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
Get alerted when CVE-2012-0840 or the next vulnerability affects your stack