{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2012-0840","published":"2012-02-10T19:55:02.407000Z","last_modified":"2026-06-16T23:38:21.793000Z","status":"Modified","cvss":{"version":"2.0","score":5.0,"severity":"MEDIUM","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-20"],"cpes":[{"criteria":"cpe:2.3:a:apache:portable_runtime:*:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"portable_runtime","version_end_including":"1.4.5"},{"criteria":"cpe:2.3:a:apache:portable_runtime:0.9.1:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"portable_runtime","version":"0.9.1"},{"criteria":"cpe:2.3:a:apache:portable_runtime:0.9.2:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"portable_runtime","version":"0.9.2"},{"criteria":"cpe:2.3:a:apache:portable_runtime:0.9.2-dev:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"portable_runtime","version":"0.9.2-dev"},{"criteria":"cpe:2.3:a:apache:portable_runtime:0.9.3:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"portable_runtime","version":"0.9.3"},{"criteria":"cpe:2.3:a:apache:portable_runtime:0.9.3-dev:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"portable_runtime","version":"0.9.3-dev"},{"criteria":"cpe:2.3:a:apache:portable_runtime:0.9.4:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"portable_runtime","version":"0.9.4"},{"criteria":"cpe:2.3:a:apache:portable_runtime:0.9.5:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"portable_runtime","version":"0.9.5"},{"criteria":"cpe:2.3:a:apache:portable_runtime:0.9.6:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"portable_runtime","version":"0.9.6"},{"criteria":"cpe:2.3:a:apache:portable_runtime:0.9.7:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"portable_runtime","version":"0.9.7"},{"criteria":"cpe:2.3:a:apache:portable_runtime:0.9.7-dev:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"portable_runtime","version":"0.9.7-dev"},{"criteria":"cpe:2.3:a:apache:portable_runtime:0.9.8:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"portable_runtime","version":"0.9.8"},{"criteria":"cpe:2.3:a:apache:portable_runtime:0.9.9:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"portable_runtime","version":"0.9.9"},{"criteria":"cpe:2.3:a:apache:portable_runtime:0.9.16-dev:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"portable_runtime","version":"0.9.16-dev"},{"criteria":"cpe:2.3:a:apache:portable_runtime:1.3.0:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"portable_runtime","version":"1.3.0"},{"criteria":"cpe:2.3:a:apache:portable_runtime:1.3.1:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"portable_runtime","version":"1.3.1"},{"criteria":"cpe:2.3:a:apache:portable_runtime:1.3.2:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"portable_runtime","version":"1.3.2"},{"criteria":"cpe:2.3:a:apache:portable_runtime:1.3.3:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"portable_runtime","version":"1.3.3"},{"criteria":"cpe:2.3:a:apache:portable_runtime:1.3.4:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"portable_runtime","version":"1.3.4"},{"criteria":"cpe:2.3:a:apache:portable_runtime:1.3.4-dev:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"portable_runtime","version":"1.3.4-dev"},{"criteria":"cpe:2.3:a:apache:portable_runtime:1.3.5:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"portable_runtime","version":"1.3.5"},{"criteria":"cpe:2.3:a:apache:portable_runtime:1.3.6:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"portable_runtime","version":"1.3.6"},{"criteria":"cpe:2.3:a:apache:portable_runtime:1.3.6-dev:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"portable_runtime","version":"1.3.6-dev"},{"criteria":"cpe:2.3:a:apache:portable_runtime:1.3.7:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"portable_runtime","version":"1.3.7"},{"criteria":"cpe:2.3:a:apache:portable_runtime:1.3.8:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"portable_runtime","version":"1.3.8"},{"criteria":"cpe:2.3:a:apache:portable_runtime:1.3.9:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"portable_runtime","version":"1.3.9"},{"criteria":"cpe:2.3:a:apache:portable_runtime:1.3.10:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"portable_runtime","version":"1.3.10"},{"criteria":"cpe:2.3:a:apache:portable_runtime:1.3.11:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"portable_runtime","version":"1.3.11"},{"criteria":"cpe:2.3:a:apache:portable_runtime:1.3.12:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"portable_runtime","version":"1.3.12"},{"criteria":"cpe:2.3:a:apache:portable_runtime:1.3.13:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"portable_runtime","version":"1.3.13"},{"criteria":"cpe:2.3:a:apache:portable_runtime:1.4.0:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"portable_runtime","version":"1.4.0"},{"criteria":"cpe:2.3:a:apache:portable_runtime:1.4.1:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"portable_runtime","version":"1.4.1"},{"criteria":"cpe:2.3:a:apache:portable_runtime:1.4.2:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"portable_runtime","version":"1.4.2"},{"criteria":"cpe:2.3:a:apache:portable_runtime:1.4.3:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"portable_runtime","version":"1.4.3"},{"criteria":"cpe:2.3:a:apache:portable_runtime:1.4.4:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"portable_runtime","version":"1.4.4"}],"cpes_truncated":false,"vendors":["apache"],"products":["apache/portable_runtime"],"cat":"app","platform":"multi","eol":false,"severity":"medium","priority_score":45,"links":{"html_es":"/es/cve/CVE-2012-0840/","html_en":"/en/cve/CVE-2012-0840/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2012-0840","cve_org":"https://www.cve.org/CVERecord?id=CVE-2012-0840"},"untrusted":{"vendor_name":"Apache","product_name":"Portable Runtime","desc_en":"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.","affected":[],"references":[{"url":"http://mail-archives.apache.org/mod_mbox/apr-commits/201201.mbox/%3C20120115003715.071D423888FD%40eris.apache.org%3E","tags":[]},{"url":"http://openwall.com/lists/oss-security/2012/02/08/3","tags":[]},{"url":"http://openwall.com/lists/oss-security/2012/02/09/1","tags":[]},{"url":"http://secunia.com/advisories/47862","tags":["Vendor Advisory"]},{"url":"http://svn.apache.org/viewvc?rev=1231605&view=rev","tags":["Patch"]},{"url":"http://www.mail-archive.com/dev%40apr.apache.org/msg24439.html","tags":[]},{"url":"http://www.mail-archive.com/dev%40apr.apache.org/msg24472.html","tags":[]},{"url":"http://www.mail-archive.com/dev%40apr.apache.org/msg24473.html","tags":[]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2012:019","tags":[]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/73096","tags":[]}]}}