# CVE-2012-0840

- Priority: **Routine**
- Reason: Not severe (CVSS 5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2012-02-10 · Modified: 2024-08-06
- Aliases: DEBIAN-CVE-2012-0840
- Record: https://cvemate.com/vulnerability/CVE-2012-0840 · JSON: https://cvemate.com/vulnerability/CVE-2012-0840/json

## Description

```text
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.
```

## Signals

- CVSS: 5 medium (v2.0, NVD) AV:N/AC:L/Au:N/C:N/I:N/A:P
- EPSS: 42.138%, percentile 98.726%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (exploit-database)

## Affected

- apache portable\_runtime: ≤ 1.4.5 \| 0.9.1 \| 0.9.2 \| 0.9.2-dev \| 0.9.3 \| 0.9.3-dev \| 0.9.4 \| 0.9.5 \| 0.9.6 \| 0.9.7 \| 0.9.7-dev \| 0.9.8 \| 0.9.9 \| 0.9.16-dev \| 1.3.0 \| 1.3.1 \| 1.3.2 \| 1.3.3 \| 1.3.4 \| 1.3.4-dev \| 1.3.5 \| 1.3.6 \| 1.3.6-dev \| 1.3.7 \| 1.3.8 \| 1.3.9 \| 1.3.10 \| 1.3.11 \| 1.3.12 \| 1.3.13 \| 1.4.0 \| 1.4.1 \| 1.4.2 \| 1.4.3 \| 1.4.4
- debian apr (Debian): \< 1.4.6-1

## References

- <http://mail-archives.apache.org/mod_mbox/apr-commits/201201.mbox/%3C20120115003715.071D423888FD%40eris.apache.org%3E>
- <https://exchange.xforce.ibmcloud.com/vulnerabilities/73096>
- <http://openwall.com/lists/oss-security/2012/02/08/3>
- <http://www.mandriva.com/security/advisories?name=MDVSA-2012:019>
- <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://openwall.com/lists/oss-security/2012/02/09/1>
- <http://www.mail-archive.com/dev%40apr.apache.org/msg24473.html>
- <https://security-tracker.debian.org/tracker/CVE-2012-0840>

---

Data as of 2026-12-05T09:08:23.142Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
