CVE-2002-1476Netbsd
Medium 4.6
Follow: this CVE · Netbsd · Netbsd We alert you by email or Slack (account required).
- Priority
- 28
- CVSS 2.0
- 4.6
- EPSS
- 0.4% probability of exploitation in 30 days · percentile 30
- Auth required
- Yes
- Published
- Apr 22, 2003
- Updated
- Jun 16, 2026
- Category
- Operating system · Cross-platform
- Vector
AV:L/AC:L/Au:N/C:P/I:P/A:P
What happens
Buffer overflow in setlocale in libc on NetBSD 1.4.x through 1.6, and possibly other operating systems, when called with the LC_ALL category, allows local attackers to execute arbitrary code via a user-controlled locale string that has more than 6 elements, which exceeds the boundaries of the new_categories category array, as exploitable through programs such as xterm and zsh.
What to do
- Apply the vendor's security update for Netbsd.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| netbsd | netbsd | 1.4 |
| netbsd | netbsd | 1.5 |
| netbsd | netbsd | 1.5.1 |
| netbsd | netbsd | 1.5.2 |
| netbsd | netbsd | 1.5.3 |
| netbsd | netbsd | 1.6 |
Official sources
References
Links published by the sources. Open them with care.
- www.iss.net Patch Vendor Advisory
- www.osvdb.org
- www.securityfocus.com Patch Vendor Advisory