Skip to content
OpenAdvisories
Unscored Public exploit CVE-2017-1000373 EUVD-2017-1532GHSA-wcg9-65qx-c5vj

The OpenBSD qsort() function is recursive, and not randomized, an attacker can construct a pathological input array of N elements that caus…

Published Jun 19, 2017 · Updated Aug 5, 2024 · 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 exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 1

References