{"id":"CVE-2012-0840","aliases":["BELL-CVE-2012-0840","DEBIAN-CVE-2012-0840","EUVD-2012-0865","GHSA-x7rw-r7fp-j64f"],"status":"published","title":"tables/apr_hash.c in the Apache Portable Runtime (APR) library through 1.4.5 computes hash values...","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.","severity":{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.42138,"percentile":0.98702,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-20"],"published":"2012-02-10T19:00:00Z","modified":"2026-10-23T17:47:42Z","exploits":[{"source":"exploitdb","id":"EDB-36669","title":"Apache APR - Hash Collision Denial of Service","type":"dos","platform":"linux","date":"2012-01-05","verified":true,"url":"https://www.exploit-db.com/exploits/36669"}],"fixes":[{"ecosystem":"Debian:12","package":"apr","fixed_in":["1.4.6-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"apr","fixed_in":["1.4.6-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"apr","fixed_in":["1.4.6-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"apr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.6-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"apr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.6-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"apr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.6-1"}]}]}],"products":[{"vendor":"apache","product":"portable_runtime"}],"references":[{"url":"http://mail-archives.apache.org/mod_mbox/apr-commits/201201.mbox/%3C20120115003715.071D423888FD%40eris.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/73096","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://openwall.com/lists/oss-security/2012/02/08/3","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2012:019","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/47862","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://svn.apache.org/viewvc?rev=1231605\u0026view=rev","tags":["x_refsource_CONFIRM","x_transferred","Patch","fix"]},{"url":"http://www.mail-archive.com/dev%40apr.apache.org/msg24439.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://www.mail-archive.com/dev%40apr.apache.org/msg24472.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://openwall.com/lists/oss-security/2012/02/09/1","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://www.mail-archive.com/dev%40apr.apache.org/msg24473.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-0840"},{"url":"http://mail-archives.apache.org/mod_mbox/apr-commits/201201.mbox/%3C20120115003715.071D423888FD@eris.apache.org%3E"},{"url":"https://github.com/advisories/GHSA-x7rw-r7fp-j64f"},{"url":"https://docs.bell-sw.com/security/cves/CVE-2012-0840","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2012-0840","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2012-0840","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.","status":"published","published":"2012-02-10T19:00:00Z","modified":"2024-08-06T18:38:14.789Z","updated_at":"2026-11-02T14:34:52.638543Z"}],"euvd":[{"id":"EUVD-2012-0865","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.","status":"published","published":"2012-02-10T19:00:00Z","modified":"2024-08-06T18:38:14Z","updated_at":"2026-11-03T01:56:19.818597Z"}],"ghsa":[{"id":"GHSA-x7rw-r7fp-j64f","title":"tables/apr_hash.c in the Apache Portable Runtime (APR) library through 1.4.5 computes hash values...","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.","status":"published","published":"2022-05-17T00:18:18Z","modified":"2025-04-11T03:56:21Z","cwes":["CWE-20"],"updated_at":"2026-11-02T15:01:10.591916Z"}],"nvd":[{"id":"CVE-2012-0840","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.","status":"published","published":"2012-02-10T19:55:02.407Z","modified":"2026-06-16T23:38:21.793Z","cvss":[{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:02:13.468343Z"}],"osv":[{"id":"BELL-CVE-2012-0840","title":"CVE-2012-0840 does not affect BellSoft software","status":"withdrawn","published":"2012-02-10T19:55:00Z","modified":"2026-03-05T07:15:14.195806Z","cvss":[{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium"}],"updated_at":"2026-11-02T15:28:12.886815Z"},{"id":"CVE-2012-0840","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.","status":"published","published":"2012-02-10T19:55:02Z","modified":"2026-04-10T03:42:12.037564Z","updated_at":"2026-11-02T15:43:58.537032Z"},{"id":"DEBIAN-CVE-2012-0840","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.","status":"published","published":"2012-02-10T19:55:02.407Z","modified":"2026-10-23T17:47:42.387130104Z","updated_at":"2026-11-02T15:45:24.92418Z"}]}}
