{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2017-1000373","id":"CVE-2017-1000373","title":"The OpenBSD qsort() function is recursive, and not randomized, an attacker can construct a pathological input array o…","description":"The OpenBSD qsort() function is recursive, and not randomized, an attacker can construct a pathological input array of N elements that causes qsort() to deterministically recurse N/4 times. This allows attackers to consume arbitrary amounts of stack memory and manipulate stack memory to assist in arbitrary code execution attacks. This affects OpenBSD 6.1 and possibly earlier versions.","descriptionLong":"The OpenBSD qsort() function is recursive, and not randomized, an attacker can construct a pathological input array of N elements that causes qsort() to deterministically recurse N/4 times. This allows attackers to consume arbitrary amounts of stack memory and manipulate stack memory to assist in arbitrary code execution attacks. This affects OpenBSD 6.1 and possibly earlier versions.","published":"2017-06-19T16:00:00.000Z","updated":"2026-06-17T00:59:03.210Z","reserved":"2017-06-19T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","rating":"medium","source":"NVD"},"metrics":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","rating":"medium","source":"NVD"},{"version":"2.0","score":6.4,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[],"cwes":["CWE-400"],"aliases":[],"references":[{"url":"https://www.exploit-db.com/exploits/42271/","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"]},{"url":"https://support.apple.com/HT208144","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt","tags":["x_refsource_MISC","x_transferred","Third Party Advisory"]},{"url":"https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib/libc/stdlib/qsort.c?rev=1.15&content-type=text/x-cvsweb-markup","tags":["x_refsource_MISC","x_transferred","Mitigation","Third Party Advisory"]},{"url":"http://www.securityfocus.com/bid/99177","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry"]},{"url":"http://www.securitytracker.com/id/1039427","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"https://support.apple.com/HT208113","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://support.apple.com/HT208112","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://support.apple.com/HT208115","tags":["x_refsource_CONFIRM","x_transferred"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.1338,"epssPercentile":0.96493,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2017-1000373","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-1000373","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2017-1000373","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2017-1000373","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}