Vulnerabilities · 2012 · Apache
CVE-2012-0840
Apache Portable Runtime vulnerability
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
Portable Runtime. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Apache Portable Runtime runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- secunia.com/advisories/47862 · Vendor Advisory
- svn.apache.org/viewvc?rev=1231605&view=rev · Patch
- mail-archives.apache.org/mod_mbox/apr-commits/201201.mbox/%3C20120115003715.071D423888FD%4
- openwall.com/lists/oss-security/2012/02/08/3
- openwall.com/lists/oss-security/2012/02/09/1
- www.mail-archive.com/dev%40apr.apache.org/msg24439.html
- www.mail-archive.com/dev%40apr.apache.org/msg24472.html
- www.mail-archive.com/dev%40apr.apache.org/msg24473.html
- nvd.nist.gov/vuln/detail/CVE-2012-0840
- cve.org/CVERecord?id=CVE-2012-0840
More vulnerabilities in Apache products
CVE-2026-47340CVE-2026-44930CVE-2026-44618CVE-2026-44417CVE-2026-42357CVE-2026-41280CVE-2026-32967CVE-2026-32966All 2,699
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.