Skip to content
Fencer Intel
medium 5.0

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 apr
    affected: no fix planned “Will not fix”
  • Red Hat JBoss Enterprise Web Server 1 apr
    affected: 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

  1. First public exploit (EDB-36669)
  2. 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

Sources

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.