Vulnerabilities · 2017 · Openbsd
CVE-2017-1000373
Openbsd vulnerability
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.
Affected products
Openbsd. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Openbsd runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib/libc/stdlib/qsort.c?rev=1.15&content-type=text/x · Mitigation
- www.securityfocus.com/bid/99177 · Third Party Advisory
- www.qualys.com/2017/06/19/stack-clash/stack-clash.txt · Third Party Advisory
- www.securitytracker.com/id/1039427
- support.apple.com/HT208112
- support.apple.com/HT208113
- support.apple.com/HT208115
- support.apple.com/HT208144
- nvd.nist.gov/vuln/detail/CVE-2017-1000373
- cve.org/CVERecord?id=CVE-2017-1000373
More vulnerabilities in Openbsd products
CVE-2025-32728CVE-2025-30334CVE-2025-26466CVE-2025-26465CVE-2024-29937CVE-2024-11149CVE-2024-11148CVE-2024-10934All 307
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.