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.
                
            References
                    | Link | Resource | 
|---|---|
| ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2002-012.txt.asc | |
| http://www.iss.net/security_center/static/10159.php | Patch Vendor Advisory | 
| http://www.osvdb.org/7565 | |
| http://www.securityfocus.com/bid/5724 | Patch Vendor Advisory | 
| ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2002-012.txt.asc | |
| http://www.iss.net/security_center/static/10159.php | Patch Vendor Advisory | 
| http://www.osvdb.org/7565 | |
| http://www.securityfocus.com/bid/5724 | Patch Vendor Advisory | 
Configurations
                    Configuration 1 (hide)
| 
 | 
History
                    20 Nov 2024, 23:41
| Type | Values Removed | Values Added | 
|---|---|---|
| References | () ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2002-012.txt.asc - | |
| References | () http://www.iss.net/security_center/static/10159.php - Patch, Vendor Advisory | |
| References | () http://www.osvdb.org/7565 - | |
| References | () http://www.securityfocus.com/bid/5724 - Patch, Vendor Advisory | 
Information
                Published : 2003-04-22 04:00
Updated : 2025-04-03 01:03
NVD link : CVE-2002-1476
Mitre link : CVE-2002-1476
CVE.ORG link : CVE-2002-1476
JSON object : View
Products Affected
                netbsd
- netbsd
CWE
                