CVE-2017-1000373

MEDIUM

OpenBSD < 6.1 - Uncontrolled Resource Consumption via qsort() Recursion

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2017-1000373. PoCs published by Qualys Corporation.

AI-analyzed exploit summary This exploit targets CVE-2017-1000373, a stack-based buffer overflow in OpenBSD's `at` command. It leverages a malicious environment variable to trigger the vulnerability during the sorting process, leading to potential remote code execution.

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.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Qualys Corporation · clocalopenbsd
https://www.exploit-db.com/exploits/42271

This exploit targets CVE-2017-1000373, a stack-based buffer overflow in OpenBSD's `at` command. It leverages a malicious environment variable to trigger the vulnerability during the sorting process, leading to potential remote code execution.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: OpenBSD at command (versions prior to patch)
No auth needed
Prerequisites: Access to a vulnerable OpenBSD system with the `at` command · Ability to set environment variables
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (9)

Core 9
Core References
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/42271/
Vendor Advisory x_refsource_confirm
https://support.apple.com/HT208144
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/99177
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://www.securitytracker.com/id/1039427
Vendor Advisory x_refsource_confirm
https://support.apple.com/HT208113
Vendor Advisory x_refsource_confirm
https://support.apple.com/HT208112
Vendor Advisory x_refsource_confirm
https://support.apple.com/HT208115

Scores

CVSS v3 6.5
EPSS 0.1702
EPSS Percentile 95.1%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

Details

CWE
CWE-400
Status published
Products (1)
openbsd/openbsd < 6.1
Published Jun 19, 2017
Tracked Since Feb 18, 2026