CVE-2017-1000373
The OpenBSD qsort() function is recursive, and not randomized, an attacker can construct a pathological input array of N elements that…
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Public exploit
A reference of the record is tagged as an exploit or proof of concept: anyone can try it against an unpatched system.
- 42271 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
Timeline
ID reserved
By mitre
Published
- 7 years later
· 7 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Medium6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
- EPSS (exploitation in 30 days)
- 13.4% · top 3.6% of all CVEs (7 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.5.
Weakness
Affected products
n/a
- affected n/a
References (9)
- 42271 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- https://support.apple.com/HT208144 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt (opens in a new tab)x_refsource_MISCx_transferred
- https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib/libc/stdlib/qsort.c?rev=1.15&content-type=text/x-cvsweb-markup (opens in a new tab)x_refsource_MISCx_transferred
- 99177 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- 1039427 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- https://support.apple.com/HT208113 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://support.apple.com/HT208112 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://support.apple.com/HT208115 (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2017-1000373)Record last updated .