CVE-2012-0840Apache Portable Runtime
Medium 5.0 No auth neededHigh EPSS
Follow: this CVE · Apache · Apache Portable Runtime We alert you by email or Slack (account required).
- Priority
- 49
- CVSS 2.0
- 5.0
- EPSS
- 42.1% probability of exploitation in 30 days · percentile 99
- Auth required
- No
- Published
- Feb 10, 2012
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- Vector
AV:N/AC:L/Au:N/C:N/I:N/A:P
What happens
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.
What to do
- Apply the vendor's security update for Portable Runtime.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | portable_runtime | ≤ 1.4.5 |
| apache | portable_runtime | 0.9.1 |
| apache | portable_runtime | 0.9.2 |
| apache | portable_runtime | 0.9.2-dev |
| apache | portable_runtime | 0.9.3 |
| apache | portable_runtime | 0.9.3-dev |
| apache | portable_runtime | 0.9.4 |
| apache | portable_runtime | 0.9.5 |
| apache | portable_runtime | 0.9.6 |
| apache | portable_runtime | 0.9.7 |
| apache | portable_runtime | 0.9.7-dev |
| apache | portable_runtime | 0.9.8 |
| apache | portable_runtime | 0.9.9 |
| apache | portable_runtime | 0.9.16-dev |
| apache | portable_runtime | 1.3.0 |
| apache | portable_runtime | 1.3.1 |
| apache | portable_runtime | 1.3.2 |
| apache | portable_runtime | 1.3.3 |
| apache | portable_runtime | 1.3.4 |
| apache | portable_runtime | 1.3.4-dev |
| apache | portable_runtime | 1.3.5 |
| apache | portable_runtime | 1.3.6 |
| apache | portable_runtime | 1.3.6-dev |
| apache | portable_runtime | 1.3.7 |
| apache | portable_runtime | 1.3.8 |
| apache | portable_runtime | 1.3.9 |
| apache | portable_runtime | 1.3.10 |
| apache | portable_runtime | 1.3.11 |
| apache | portable_runtime | 1.3.12 |
| apache | portable_runtime | 1.3.13 |
| apache | portable_runtime | 1.4.0 |
| apache | portable_runtime | 1.4.1 |
| apache | portable_runtime | 1.4.2 |
| apache | portable_runtime | 1.4.3 |
| apache | portable_runtime | 1.4.4 |
Official sources
References
Links published by the sources. Open them with care.