Breaking: Java4Shell (CVE-2026-114938) - Less Than 0.12% of JVMs Estimated at Risk of RCE
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2012-0840

apr: hash table collisions CPU usage DoS

Overview

Published
10 Feb 2012
Modified
29 Apr 2026
Medium CVE
0 Registry packages
2 OS packages
3 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

5 · MEDIUM

CVSS 2.0 base score, scored by NVD.

Access vector
Network
Access complexity
Low
Authentication
None
Confidentiality
None
Integrity
None
Availability
Partial

AV:N/AC:L/Au:N/C:N/I:N/A:P

Weakness: CWE-20

Affected packages · 0

No registry package. This ID affects operating system packages only.

Operating systems · 6 fixes

debian 4 releases · 1 package

fixed 4
apr
debian fixes for CVE-2012-0840
ReleasePackageFixed in
11 apr 1.4.6-1
12 apr 1.4.6-1
13 apr 1.4.6-1
14 apr 1.4.6-1

echo 1 release · 1 package

fixed 1
apr
echo fixes for CVE-2012-0840
ReleasePackageFixed in
apr 1.4.6-1

root.io debian 1 release · 1 package

fixed 1
rootio-apr
root.io debian fixes for CVE-2012-0840
ReleasePackageFixed in
11 rootio-apr 1.4.6-1

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.