Read the docs
TI-2012-00775 Aliases CVE-2012-0840GHSA-x7rw-r7fp-j64f

tables/apr_hash.c in the Apache Portable Runtime (APR) library through 1.4.5 computes…

Priority MEDIUM 51CWE-20Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
— Not recorded in CVSS 2.0
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · None · Partial
Fix status
Deferred Red Hat: fix deferred

Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat.

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.

Why it matters now

EPSS 0.42138 98th percentileScored 2026-11-07
Fix Deferred Red Hat: fix deferred

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 35

CPEVersionsRoleVendor
cpe:2.3:a:apache:portable_runtime:*:*:*:*:*:*:*:*up to 1.4.5VulnerableApache
cpe:2.3:a:apache:portable_runtime:0.9.1:*:*:*:*:*:*:*0.9.1VulnerableApache
cpe:2.3:a:apache:portable_runtime:0.9.2:*:*:*:*:*:*:*0.9.2VulnerableApache
cpe:2.3:a:apache:portable_runtime:0.9.2-dev:*:*:*:*:*:*:*0.9.2-devVulnerableApache
cpe:2.3:a:apache:portable_runtime:0.9.3:*:*:*:*:*:*:*0.9.3VulnerableApache
cpe:2.3:a:apache:portable_runtime:0.9.3-dev:*:*:*:*:*:*:*0.9.3-devVulnerableApache
cpe:2.3:a:apache:portable_runtime:0.9.4:*:*:*:*:*:*:*0.9.4VulnerableApache
cpe:2.3:a:apache:portable_runtime:0.9.5:*:*:*:*:*:*:*0.9.5VulnerableApache
cpe:2.3:a:apache:portable_runtime:0.9.6:*:*:*:*:*:*:*0.9.6VulnerableApache
cpe:2.3:a:apache:portable_runtime:0.9.7:*:*:*:*:*:*:*0.9.7VulnerableApache
  • cpe:2.3:a:apache:portable_runtime:*:*:*:*:*:*:*:* Versions up to 1.4.5 Vulnerable ·Apache
  • cpe:2.3:a:apache:portable_runtime:0.9.1:*:*:*:*:*:*:* Versions 0.9.1 Vulnerable ·Apache
  • cpe:2.3:a:apache:portable_runtime:0.9.2:*:*:*:*:*:*:* Versions 0.9.2 Vulnerable ·Apache
  • cpe:2.3:a:apache:portable_runtime:0.9.2-dev:*:*:*:*:*:*:* Versions 0.9.2-dev Vulnerable ·Apache
  • cpe:2.3:a:apache:portable_runtime:0.9.3:*:*:*:*:*:*:* Versions 0.9.3 Vulnerable ·Apache
  • cpe:2.3:a:apache:portable_runtime:0.9.3-dev:*:*:*:*:*:*:* Versions 0.9.3-dev Vulnerable ·Apache
  • cpe:2.3:a:apache:portable_runtime:0.9.4:*:*:*:*:*:*:* Versions 0.9.4 Vulnerable ·Apache
  • cpe:2.3:a:apache:portable_runtime:0.9.5:*:*:*:*:*:*:* Versions 0.9.5 Vulnerable ·Apache
  • cpe:2.3:a:apache:portable_runtime:0.9.6:*:*:*:*:*:*:* Versions 0.9.6 Vulnerable ·Apache
  • cpe:2.3:a:apache:portable_runtime:0.9.7:*:*:*:*:*:*:* Versions 0.9.7 Vulnerable ·Apache
Show 25 more CPE
CPEVersionsRoleVendor
cpe:2.3:a:apache:portable_runtime:0.9.7-dev:*:*:*:*:*:*:*0.9.7-devVulnerableApache
cpe:2.3:a:apache:portable_runtime:0.9.8:*:*:*:*:*:*:*0.9.8VulnerableApache
cpe:2.3:a:apache:portable_runtime:0.9.9:*:*:*:*:*:*:*0.9.9VulnerableApache
cpe:2.3:a:apache:portable_runtime:0.9.16-dev:*:*:*:*:*:*:*0.9.16-devVulnerableApache
cpe:2.3:a:apache:portable_runtime:1.3.0:*:*:*:*:*:*:*1.3.0VulnerableApache
cpe:2.3:a:apache:portable_runtime:1.3.1:*:*:*:*:*:*:*1.3.1VulnerableApache
cpe:2.3:a:apache:portable_runtime:1.3.2:*:*:*:*:*:*:*1.3.2VulnerableApache
cpe:2.3:a:apache:portable_runtime:1.3.3:*:*:*:*:*:*:*1.3.3VulnerableApache
cpe:2.3:a:apache:portable_runtime:1.3.4:*:*:*:*:*:*:*1.3.4VulnerableApache
cpe:2.3:a:apache:portable_runtime:1.3.4-dev:*:*:*:*:*:*:*1.3.4-devVulnerableApache
cpe:2.3:a:apache:portable_runtime:1.3.5:*:*:*:*:*:*:*1.3.5VulnerableApache
cpe:2.3:a:apache:portable_runtime:1.3.6:*:*:*:*:*:*:*1.3.6VulnerableApache
cpe:2.3:a:apache:portable_runtime:1.3.6-dev:*:*:*:*:*:*:*1.3.6-devVulnerableApache
cpe:2.3:a:apache:portable_runtime:1.3.7:*:*:*:*:*:*:*1.3.7VulnerableApache
cpe:2.3:a:apache:portable_runtime:1.3.8:*:*:*:*:*:*:*1.3.8VulnerableApache
cpe:2.3:a:apache:portable_runtime:1.3.9:*:*:*:*:*:*:*1.3.9VulnerableApache
cpe:2.3:a:apache:portable_runtime:1.3.10:*:*:*:*:*:*:*1.3.10VulnerableApache
cpe:2.3:a:apache:portable_runtime:1.3.11:*:*:*:*:*:*:*1.3.11VulnerableApache
cpe:2.3:a:apache:portable_runtime:1.3.12:*:*:*:*:*:*:*1.3.12VulnerableApache
cpe:2.3:a:apache:portable_runtime:1.3.13:*:*:*:*:*:*:*1.3.13VulnerableApache
cpe:2.3:a:apache:portable_runtime:1.4.0:*:*:*:*:*:*:*1.4.0VulnerableApache
cpe:2.3:a:apache:portable_runtime:1.4.1:*:*:*:*:*:*:*1.4.1VulnerableApache
cpe:2.3:a:apache:portable_runtime:1.4.2:*:*:*:*:*:*:*1.4.2VulnerableApache
cpe:2.3:a:apache:portable_runtime:1.4.3:*:*:*:*:*:*:*1.4.3VulnerableApache
cpe:2.3:a:apache:portable_runtime:1.4.4:*:*:*:*:*:*:*1.4.4VulnerableApache
  • cpe:2.3:a:apache:portable_runtime:0.9.7-dev:*:*:*:*:*:*:* Versions 0.9.7-dev Vulnerable ·Apache
  • cpe:2.3:a:apache:portable_runtime:0.9.8:*:*:*:*:*:*:* Versions 0.9.8 Vulnerable ·Apache
  • cpe:2.3:a:apache:portable_runtime:0.9.9:*:*:*:*:*:*:* Versions 0.9.9 Vulnerable ·Apache
  • cpe:2.3:a:apache:portable_runtime:0.9.16-dev:*:*:*:*:*:*:* Versions 0.9.16-dev Vulnerable ·Apache
  • cpe:2.3:a:apache:portable_runtime:1.3.0:*:*:*:*:*:*:* Versions 1.3.0 Vulnerable ·Apache
  • cpe:2.3:a:apache:portable_runtime:1.3.1:*:*:*:*:*:*:* Versions 1.3.1 Vulnerable ·Apache
  • cpe:2.3:a:apache:portable_runtime:1.3.2:*:*:*:*:*:*:* Versions 1.3.2 Vulnerable ·Apache
  • cpe:2.3:a:apache:portable_runtime:1.3.3:*:*:*:*:*:*:* Versions 1.3.3 Vulnerable ·Apache
  • cpe:2.3:a:apache:portable_runtime:1.3.4:*:*:*:*:*:*:* Versions 1.3.4 Vulnerable ·Apache
  • cpe:2.3:a:apache:portable_runtime:1.3.4-dev:*:*:*:*:*:*:* Versions 1.3.4-dev Vulnerable ·Apache
  • cpe:2.3:a:apache:portable_runtime:1.3.5:*:*:*:*:*:*:* Versions 1.3.5 Vulnerable ·Apache
  • cpe:2.3:a:apache:portable_runtime:1.3.6:*:*:*:*:*:*:* Versions 1.3.6 Vulnerable ·Apache
  • cpe:2.3:a:apache:portable_runtime:1.3.6-dev:*:*:*:*:*:*:* Versions 1.3.6-dev Vulnerable ·Apache
  • cpe:2.3:a:apache:portable_runtime:1.3.7:*:*:*:*:*:*:* Versions 1.3.7 Vulnerable ·Apache
  • cpe:2.3:a:apache:portable_runtime:1.3.8:*:*:*:*:*:*:* Versions 1.3.8 Vulnerable ·Apache
  • cpe:2.3:a:apache:portable_runtime:1.3.9:*:*:*:*:*:*:* Versions 1.3.9 Vulnerable ·Apache
  • cpe:2.3:a:apache:portable_runtime:1.3.10:*:*:*:*:*:*:* Versions 1.3.10 Vulnerable ·Apache
  • cpe:2.3:a:apache:portable_runtime:1.3.11:*:*:*:*:*:*:* Versions 1.3.11 Vulnerable ·Apache
  • cpe:2.3:a:apache:portable_runtime:1.3.12:*:*:*:*:*:*:* Versions 1.3.12 Vulnerable ·Apache
  • cpe:2.3:a:apache:portable_runtime:1.3.13:*:*:*:*:*:*:* Versions 1.3.13 Vulnerable ·Apache
  • cpe:2.3:a:apache:portable_runtime:1.4.0:*:*:*:*:*:*:* Versions 1.4.0 Vulnerable ·Apache
  • cpe:2.3:a:apache:portable_runtime:1.4.1:*:*:*:*:*:*:* Versions 1.4.1 Vulnerable ·Apache
  • cpe:2.3:a:apache:portable_runtime:1.4.2:*:*:*:*:*:*:* Versions 1.4.2 Vulnerable ·Apache
  • cpe:2.3:a:apache:portable_runtime:1.4.3:*:*:*:*:*:*:* Versions 1.4.3 Vulnerable ·Apache
  • cpe:2.3:a:apache:portable_runtime:1.4.4:*:*:*:*:*:*:* Versions 1.4.4 Vulnerable ·Apache

Remediation

No fixed version listed by the sources yet.

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 4AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 5AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Will not fix
Red Hat JBoss Enterprise Web Server 1AffectedNo fix yet: Fix deferred

Timeline

  1. 2026-10-02 Threatist record created from CVE-2012-0840
  2. 2026-10-03 Alias added: GHSA-x7rw-r7fp-j64f

References

  • TI-2009-02302 Multiple integer overflows in the Apache Portable Runtime (APR) library and the Apache… CVSS 2.0HIGH 10.0
  • TI-2022-11103 Apache Portable Runtime (APR): Windows out-of-bounds write in apr_socket_sendv function CVSS 3.1CRITICAL 9.8
  • TI-2022-08761 Apache Portable Runtime (APR): out-of-bound writes in the apr_encode family of functions CVSS 3.1CRITICAL 9.8
  • TI-2009-02581 The Solaris pollset feature in the Event Port backend in poll/unix/port.c in the Apache… CVSS 3.1HIGH 7.5
  • TI-2011-00350 Stack consumption vulnerability in the fnmatch implementation in apr_fnmatch.c in the… CVSS 2.0MEDIUM 4.3
  • TI-2017-09338 Out-of-bounds read in Apache Portable Runtime CVSS 3.1HIGH 7.1
See all 8 →

Sources