Skip to content
Noroxi
CVE-2012-0840· NVD / CVE Program· CNA redhat

tables/apr_hash.c in the Apache Portable Runtime (APR) library through 1.4.5 computes hash values without restricting the ability to trigger

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.

MediumCVSS 5.0 · v2.0—Proof of concept Fix available
Published
Feb 10, 2012
Updated
Jun 16, 2026
EPSS
42.1% · 99th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

33

Monitor

Low priority for now.

CVSS
20 / 40 · 5.0 / 10
CISA KEV
0 / 30 · Not listed
EPSS
13 / 30 · 42.1%

Affected systems

VendorProduct
apacheportable runtime

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • apache portable runtimeup to 1.4.5 inclusive
  • apache portable runtime0.9.1
  • apache portable runtime0.9.16-dev
  • apache portable runtime0.9.2
  • apache portable runtime0.9.2-dev
  • apache portable runtime0.9.3
  • apache portable runtime0.9.3-dev
  • apache portable runtime0.9.4
  • apache portable runtime0.9.5
  • apache portable runtime0.9.6
  • apache portable runtime0.9.7
  • apache portable runtime0.9.7-dev
  • apache portable runtime0.9.8
  • apache portable runtime0.9.9
  • apache portable runtime1.3.0
  • apache portable runtime1.3.1
  • apache portable runtime1.3.10
  • apache portable runtime1.3.11
  • apache portable runtime1.3.12
  • apache portable runtime1.3.13

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12aprbefore 1.4.6-11.4.6-1

Other highest-scoring records for the same primary product.

  • CVE-2022-28331Apache Portable Runtime (APR): Windows out-of-bounds write in apr_socket_sendv function
    39Monitor
  • CVE-2022-24963Apache Portable Runtime (APR): out-of-bound writes in the apr_encode family of functions
    39Monitor
  • CVE-2017-12613When apr_time_exp*() or apr_os_exp_time*() functions are invoked with an invalid month field value in Apache Portable Runtime APR 1.6.2 and
    29Monitor
  • CVE-2021-35940Regression of CVE-2017-12613
    28Monitor
  • CVE-2011-0419Stack consumption vulnerability in the fnmatch implementation in apr_fnmatch.c in the Apache Portable Runtime (APR) library before 1.4.3 and
    26Monitor
  • CVE-2023-49582Apache Portable Runtime (APR): Unexpected lax shared memory permissions
    22Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:apr1.4.6-1 · Debian:12Package registry (OSV)

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Exploit-DB entry ×1

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Exploit-DB entrydos2012-01-05

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. First PoC-37 d
  2. Published
  3. TodaySep 30, 2026+5346 d
EPSS, last 120 days-1% in 7 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records