Description
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.
Metrics
CVSS 2.0 4.6/10
AV:L/AC:L/Au:N/C:P/I:P/A:PAffected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://www.iss.net/security_center/static/10159.phpPatch, Vendor Advisory
- http://www.osvdb.org/7565
- http://www.securityfocus.com/bid/5724Patch, Vendor Advisory
- http://www.iss.net/security_center/static/10159.phpPatch, Vendor Advisory
- http://www.osvdb.org/7565
- http://www.securityfocus.com/bid/5724Patch, Vendor Advisory
Timeline
- Published
- Apr 22, 2003
- Last modified
- Jun 16, 2026
- NVD status
- Modified