Improper Input Validation Affecting apr package, versions <1.4.6-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
42.14% (99th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-APR-22586355
  • published18 Nov 2026
  • disclosed10 Feb 2012

Introduced: 10 Feb 2012

CVE-2012-0840  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Echo:latest apr to version 1.4.6-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream apr package and not the apr package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1