CVE-2017-1000378Netbsd
Critical 9.8 No auth needed
Follow: this CVE · Netbsd · Netbsd We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.0
- 9.8
- EPSS
- 4.1% probability of exploitation in 30 days · percentile 92
- Auth required
- No
- Published
- Jun 19, 2017
- Updated
- Jun 17, 2026
- Category
- Operating system · Cross-platform
- Weakness (CWE)
- CWE-400
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
The NetBSD 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 NetBSD 7.1 and possibly earlier versions.
What to do
- Apply the vendor's security update for Netbsd.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| netbsd | netbsd | ≤ 7.1 |
Official sources
References
Links published by the sources. Open them with care.
- cvsweb.netbsd.org Third Party Advisory
- www.securityfocus.com Third Party Advisory VDB Entry
- www.qualys.com Third Party Advisory