{
    "id": "CVE-2012-0840",
    "published": "2012-02-10 19:55:02",
    "last_modified": "2026-06-16 23:38:21",
    "cvss_score": "5.0",
    "cvss_severity": "MEDIUM",
    "cvss_version": "2.0",
    "cvss_vector": "AV:N/AC:L/Au:N/C:N/I:N/A:P",
    "cwe": "CWE-20",
    "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.",
    "epss_score": "0.42138",
    "epss_percentile": "0.98650",
    "kev": 0,
    "kev_due": null,
    "has_exploit": 1,
    "updated_at": "2026-09-26 18:18:14",
    "priority": {
        "rank": 2,
        "label": "Patch early",
        "why": "A public exploit exists."
    },
    "products": [
        {
            "vendor": "apache",
            "product": "portable_runtime"
        }
    ],
    "kev_detail": null,
    "exploits": [
        {
            "source": "exploit-db",
            "ref_id": "36669",
            "title": "Apache APR - Hash Collision Denial of Service",
            "date": "2012-01-05",
            "url": "https://www.exploit-db.com/exploits/36669"
        }
    ],
    "refs_list": [
        "http://mail-archives.apache.org/mod_mbox/apr-commits/201201.mbox/%3C20120115003715.071D423888FD%40eris.apache.org%3E",
        "http://openwall.com/lists/oss-security/2012/02/08/3",
        "http://openwall.com/lists/oss-security/2012/02/09/1",
        "http://secunia.com/advisories/47862",
        "http://svn.apache.org/viewvc?rev=1231605&view=rev",
        "http://www.mail-archive.com/dev%40apr.apache.org/msg24439.html",
        "http://www.mail-archive.com/dev%40apr.apache.org/msg24472.html",
        "http://www.mail-archive.com/dev%40apr.apache.org/msg24473.html",
        "http://www.mandriva.com/security/advisories?name=MDVSA-2012:019",
        "https://exchange.xforce.ibmcloud.com/vulnerabilities/73096",
        "http://mail-archives.apache.org/mod_mbox/apr-commits/201201.mbox/%3C20120115003715.071D423888FD%40eris.apache.org%3E",
        "http://openwall.com/lists/oss-security/2012/02/08/3",
        "http://openwall.com/lists/oss-security/2012/02/09/1",
        "http://secunia.com/advisories/47862",
        "http://svn.apache.org/viewvc?rev=1231605&view=rev",
        "http://www.mail-archive.com/dev%40apr.apache.org/msg24439.html",
        "http://www.mail-archive.com/dev%40apr.apache.org/msg24472.html",
        "http://www.mail-archive.com/dev%40apr.apache.org/msg24473.html",
        "http://www.mandriva.com/security/advisories?name=MDVSA-2012:019",
        "https://exchange.xforce.ibmcloud.com/vulnerabilities/73096"
    ]
}