CVE-2012-0840

Exp

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.

Published: 2012-02-10 Last update: 2026-04-29 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2012-0840 is rated High Exploit Risk (72.1/100): CVSS Medium severity, with high exploitation likelihood (EPSS 40.19%, 97th percentile). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). EPSS rose +3.00% over the last day, indicating growing attacker interest. Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2012-0840

EDB-ID Source Kind Published Link
36669 exploit_db edb 2012-01-05 Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2012-0840

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-05-30 37.18% 40.19% +3.00%
2 2025-10-11 31.95% 37.18% +5.24%
3 2025-08-26 31.95%

Full EPSS history (16 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2012-0840

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
5.0 2.0 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:N)
No confidentiality impact.
Integrity impact (I:N)
No integrity impact.
Availability impact (A:P)
Partial availability impact.
10.0 2.9 [email protected]

Weakness enumeration for CVE-2012-0840

OS Trackers for CVE-2012-0840

vendor priority summary link
debian low CVE-2012-0840 low priority: Debian including 1 source packages (apr), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2012-0840
gentoo low CVE-2012-0840: 1 GLSA(s) (201405-24), 2 atom(s) (dev-libs/apr, dev-libs/apr-util); latest impact low. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2012-0840
redhat medium https://access.redhat.com/security/cve/CVE-2012-0840
ubuntu low CVE-2012-0840 low priority: Ubuntu including 1 source packages (apr), 13 status rows across 13 suites (hardy, lucid, maverick, natty, oneiric, precise, quantal, raring, saucy, trusty, upstream, utopic, vivid): not-affected 7, ignored 5, released 1. https://ubuntu.com/security/CVE-2012-0840

Affected software / configurations for CVE-2012-0840

Vendor Product Version Raw CPE
apache portable_runtime <= 1.4.5 cpe:2.3:a:apache:portable_runtime:*:*:*:*:*:*:*:*
apache portable_runtime 0.9.1 cpe:2.3:a:apache:portable_runtime:0.9.1:*:*:*:*:*:*:*
apache portable_runtime 0.9.2 cpe:2.3:a:apache:portable_runtime:0.9.2:*:*:*:*:*:*:*
apache portable_runtime 0.9.2-dev cpe:2.3:a:apache:portable_runtime:0.9.2-dev:*:*:*:*:*:*:*
apache portable_runtime 0.9.3 cpe:2.3:a:apache:portable_runtime:0.9.3:*:*:*:*:*:*:*
apache portable_runtime 0.9.3-dev cpe:2.3:a:apache:portable_runtime:0.9.3-dev:*:*:*:*:*:*:*
apache portable_runtime 0.9.4 cpe:2.3:a:apache:portable_runtime:0.9.4:*:*:*:*:*:*:*
apache portable_runtime 0.9.5 cpe:2.3:a:apache:portable_runtime:0.9.5:*:*:*:*:*:*:*
apache portable_runtime 0.9.6 cpe:2.3:a:apache:portable_runtime:0.9.6:*:*:*:*:*:*:*
apache portable_runtime 0.9.7 cpe:2.3:a:apache:portable_runtime:0.9.7:*:*:*:*:*:*:*
apache portable_runtime 0.9.7-dev cpe:2.3:a:apache:portable_runtime:0.9.7-dev:*:*:*:*:*:*:*
apache portable_runtime 0.9.8 cpe:2.3:a:apache:portable_runtime:0.9.8:*:*:*:*:*:*:*
apache portable_runtime 0.9.9 cpe:2.3:a:apache:portable_runtime:0.9.9:*:*:*:*:*:*:*
apache portable_runtime 0.9.16-dev cpe:2.3:a:apache:portable_runtime:0.9.16-dev:*:*:*:*:*:*:*
apache portable_runtime 1.3.0 cpe:2.3:a:apache:portable_runtime:1.3.0:*:*:*:*:*:*:*
apache portable_runtime 1.3.1 cpe:2.3:a:apache:portable_runtime:1.3.1:*:*:*:*:*:*:*
apache portable_runtime 1.3.2 cpe:2.3:a:apache:portable_runtime:1.3.2:*:*:*:*:*:*:*
apache portable_runtime 1.3.3 cpe:2.3:a:apache:portable_runtime:1.3.3:*:*:*:*:*:*:*
apache portable_runtime 1.3.4 cpe:2.3:a:apache:portable_runtime:1.3.4:*:*:*:*:*:*:*
apache portable_runtime 1.3.4-dev cpe:2.3:a:apache:portable_runtime:1.3.4-dev:*:*:*:*:*:*:*
apache portable_runtime 1.3.5 cpe:2.3:a:apache:portable_runtime:1.3.5:*:*:*:*:*:*:*
apache portable_runtime 1.3.6 cpe:2.3:a:apache:portable_runtime:1.3.6:*:*:*:*:*:*:*
apache portable_runtime 1.3.6-dev cpe:2.3:a:apache:portable_runtime:1.3.6-dev:*:*:*:*:*:*:*
apache portable_runtime 1.3.7 cpe:2.3:a:apache:portable_runtime:1.3.7:*:*:*:*:*:*:*
apache portable_runtime 1.3.8 cpe:2.3:a:apache:portable_runtime:1.3.8:*:*:*:*:*:*:*
apache portable_runtime 1.3.9 cpe:2.3:a:apache:portable_runtime:1.3.9:*:*:*:*:*:*:*
apache portable_runtime 1.3.10 cpe:2.3:a:apache:portable_runtime:1.3.10:*:*:*:*:*:*:*
apache portable_runtime 1.3.11 cpe:2.3:a:apache:portable_runtime:1.3.11:*:*:*:*:*:*:*
apache portable_runtime 1.3.12 cpe:2.3:a:apache:portable_runtime:1.3.12:*:*:*:*:*:*:*
apache portable_runtime 1.3.13 cpe:2.3:a:apache:portable_runtime:1.3.13:*:*:*:*:*:*:*
apache portable_runtime 1.4.0 cpe:2.3:a:apache:portable_runtime:1.4.0:*:*:*:*:*:*:*
apache portable_runtime 1.4.1 cpe:2.3:a:apache:portable_runtime:1.4.1:*:*:*:*:*:*:*
apache portable_runtime 1.4.2 cpe:2.3:a:apache:portable_runtime:1.4.2:*:*:*:*:*:*:*
apache portable_runtime 1.4.3 cpe:2.3:a:apache:portable_runtime:1.4.3:*:*:*:*:*:*:*
apache portable_runtime 1.4.4 cpe:2.3:a:apache:portable_runtime:1.4.4:*:*:*:*:*:*:*

References for CVE-2012-0840

cvelogic Threat Intelligence