CVE-2017-1000373 json
The OpenBSD qsort() function is recursive, and not randomized, an attacker can construct a pathological input array of N elements that caus…
published 9y ago modified 4mo ago also EUVD-2017-1532
- cvss
- 6.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 13.4%
- EPSS 13.4% chance of exploitation in 30 days, percentile 96%
- public exploits
- 1
- Exploit-DB
Summary
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.
Is CVE-2017-1000373 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerTimeline
- Published
- First public exploit (EDB-42271)
Exploit prediction
13.38% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- EDB-42271 OpenBSD - 'at Stack Clash' Local Privilege Escalation local, 2017-06-28
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
| NVD | 2.0 | 6.4 | AV:N/AC:L/Au:N/C:N/I:P/A:P |
Classification
- Weakness
-
- CWE-400 Uncontrolled Resource Consumption
References
-
exploit-db.com
/exploits/42271/
exploit
- support.apple.com /HT208144
-
qualys.com
/2017/06/19/stack-clash/stack-clash.txt
third-party-advisory
-
cvsweb.openbsd.org
/cgi-bin/cvsweb/src/lib/libc/stdlib/qsort.c?rev=1.15&content-type=text/x-cvsweb-markup
mitigation, third-party-advisory
-
securityfocus.com
/bid/99177
vdb-entry, third-party-advisory
-
securitytracker.com
/id/1039427
vdb-entry
- support.apple.com /HT208113
- support.apple.com /HT208112
- support.apple.com /HT208115
Sources
- CVE List CVE-2017-1000373
- NVD CVE-2017-1000373
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.