Back
CVE-2012-0840
tables/apr_hash.c in the Apache Portable Runtime (APR) library through 1.4.5 computes hash values without restricting the ability to…
Medium5.0EPSS 42.1%
- Published
- Updated
- Reserved
- Assigned by
- redhat
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
- EPSS (exploitation in 30 days)
- 42.1% · top 1.3% of all CVEs (2 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.0.
Weakness
Affected products
n/a
- affected n/a
References (10)
- [apr-commits] 20120115 svn commit: r1231605 - /apr/apr/trunk/tables/apr_hash.c (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- apacheapr-hash-dos(73096) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- [oss-security] 20120208 CVE request: apr - Hash DoS vulnerability (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- MDVSA-2012:019 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- 47862 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://svn.apache.org/viewvc?rev=1231605&view=rev (opens in a new tab)x_refsource_CONFIRMx_transferred
- [dev] 20120105 Hash collision vectors in APR? (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [dev] 20120113 Re: Hash collision vectors in APR? (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [oss-security] 20120208 Re: CVE request: apr - Hash DoS vulnerability (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [dev] 20120114 Re: Hash collision vectors in APR? (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .