CVE-2012-0840 json
tables/apr_hash.c in the Apache Portable Runtime (APR) library through 1.4.5 computes hash values without restricting the ability to trigge…
published 2012-02-10 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-0865
- cvss
- 5.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 42.1%
- EPSS 42.1% chance of exploitation in 30 days, percentile 98%
- public exploits
- 1
- Exploit-DB
Summary
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.
Patch / fix
- apr Debian 14, Debian 13, Debian 12 1.4.6-1
debian advisories DEBIAN-CVE-2012-0840
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-0840 updated cvss 5.0
apr: hash table collisions CPU usage DoS
-
Red Hat Enterprise Linux 4 apr Red Hat Enterprise Linux 5 apr Red Hat Enterprise Linux 6 apraffected: no fix planned “Will not fix”
-
Red Hat JBoss Enterprise Web Server 1 apraffected: no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (EDB-36669)
- Published
Exploit prediction
42.14% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- EDB-36669 Apache APR - Hash Collision Denial of Service dos, 2012-01-05
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
svn.apache.org
/viewvc?rev=1231605&view=rev
patch
-
mandriva.com
/security/advisories?name=MDVSA-2012:019
vendor-advisory
-
secunia.com
/advisories/47862
third-party-advisory, vendor-advisory
-
mail-archives.apache.org
/mod_mbox/apr-commits/201201.mbox/%3C20120115003715.071D423888FD%40eris.apache.org%3E
mailing-list
-
exchange.xforce.ibmcloud.com
/vulnerabilities/73096
vdb-entry
-
openwall.com
/lists/oss-security/2012/02/08/3
mailing-list
-
mail-archive.com
/dev%40apr.apache.org/msg24439.html
mailing-list
-
mail-archive.com
/dev%40apr.apache.org/msg24472.html
mailing-list
-
openwall.com
/lists/oss-security/2012/02/09/1
mailing-list
-
mail-archive.com
/dev%40apr.apache.org/msg24473.html
mailing-list
Sources
- CVE List CVE-2012-0840
- NVD CVE-2012-0840
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.